parameters: ()
return_statement: return singa.Platform.GetDefaultOpenclDevice()
docstring: Create the default OpenCL device.
  
      Returns:
          a swig converted OpenCL device.
docstring_summary: Create the default OpenCL device.
docstring_tokens: Create the default OpenCL device .
function: def create_opencl_device():
      '''Create the default OpenCL device.
  
      Returns:
          a swig converted OpenCL device.
      '''
      assert singa.USE_OPENCL, 'SINGA has not been compiled with OpenCL enabled.'
      return singa.Platform.GetDefaultOpenclDevice()
function_tokens: def create_opencl_device ( ) : assert singa . USE_OPENCL , 'SINGA has not been compiled with OpenCL enabled.' return singa . Platform . GetDefaultOpenclDevice ( )