org.jocl.utils
Class CommandQueueInfos

java.lang.Object
  extended by org.jocl.utils.CommandQueueInfos

public class CommandQueueInfos
extends java.lang.Object

Utility methods for obtaining information about cl_command_queue objects


Method Summary
static org.jocl.cl_context getContext(org.jocl.cl_command_queue commandQueue)
          The context that this command queue belongs to
static org.jocl.cl_device_id getDevice(org.jocl.cl_command_queue commandQueue)
          The device that this command queue belongs to
static long getProperties(org.jocl.cl_command_queue commandQueue)
          The properties of the command queue.
static java.lang.String getPropertiesString(org.jocl.cl_command_queue commandQueue)
          The properties of the command queue, as a String
static int getReferenceCount(org.jocl.cl_command_queue commandQueue)
          The reference count.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getContext

public static org.jocl.cl_context getContext(org.jocl.cl_command_queue commandQueue)
The context that this command queue belongs to

Parameters:
commandQueue - The command queue
Returns:
The value

getDevice

public static org.jocl.cl_device_id getDevice(org.jocl.cl_command_queue commandQueue)
The device that this command queue belongs to

Parameters:
commandQueue - The command queue
Returns:
The value

getReferenceCount

public static int getReferenceCount(org.jocl.cl_command_queue commandQueue)
The reference count. Only intended for identifying memory leaks.

Parameters:
commandQueue - The command queue
Returns:
The value

getProperties

public static long getProperties(org.jocl.cl_command_queue commandQueue)
The properties of the command queue.

Parameters:
commandQueue - The command queue
Returns:
The value

getPropertiesString

public static java.lang.String getPropertiesString(org.jocl.cl_command_queue commandQueue)
The properties of the command queue, as a String

Parameters:
commandQueue - The command queue
Returns:
The value