lib/opencl_ruby_ffi/CommandQueue.rb
def device_default
        ptr = MemoryPointer::new( CommandQueue )
        error = OpenCL.clGetCommandQueueInfo(self, DEVICE_DEFAULT, CommandQueue.size, ptr, nil)
        error_check(error)
        return CommandQueue::new( ptr.read_pointer )
      end
# Return the default CommandQueue for the underlying Device
Return the default CommandQueue for the underlying Device
Return the default CommandQueue for the underlying Device
def device_default
        ptr = MemoryPointer::new( CommandQueue )
        error = OpenCL.clGetCommandQueueInfo(self, DEVICE_DEFAULT, CommandQueue.size, ptr, nil)
        error_check(error)
        return CommandQueue::new( ptr.read_pointer )
      end
def device_default ptr = MemoryPointer :: new ( CommandQueue ) error = OpenCL . clGetCommandQueueInfo ( self , DEVICE_DEFAULT , CommandQueue . size , ptr , nil ) error_check ( error ) return CommandQueue :: new ( ptr . read_pointer ) end
Return the default CommandQueue for the underlying Device
Return the default CommandQueue for the underlying Device