Top Description Fields Constructors Methods
org.lwjgl.opencl

public final Class CLCommandQueue

extends CLObjectChild<CLContext>
Class Inheritance
Imports
org.lwjgl.PointerBuffer

This class is a wrapper around a cl_command_queue pointer.
Author
Spasi

Field Summary

Modifier and TypeField and Description
private final CLObjectRegistry<CLEvent>
private final CLDevice
private static final InfoUtil<CLCommandQueue>

Constructor Summary

AccessConstructor and Description
pack-priv
CLCommandQueue(final long pointer, final CLContext context, final CLDevice device)

Method Summary

Modifier and TypeMethod and Description
public CLDevice
public CLEvent

Returns:

the CLEvent object
getCLEvent
(final long
the event object id
id
)

Returns a CLEvent associated with this command-queue.

pack-priv CLObjectRegistry<CLEvent>
public int

Returns:

the parameter value
getInfoInt
(int
the parameter
param_name
)

Returns the integer value of the specified parameter.

pack-priv void
registerCLEvent(final PointerBuffer
a buffer containing a CLEvent pointer.
event
)

Called from OpenCL methods that generate CLEvents.

pack-priv int
Inherited from org.lwjgl.opencl.CLObjectChild:
getParent

Field Detail

clEventsback to summary
private final CLObjectRegistry<CLEvent> clEvents
deviceback to summary
private final CLDevice device
utilback to summary
private static final InfoUtil<CLCommandQueue> util

Constructor Detail

CLCommandQueueback to summary
pack-priv CLCommandQueue(final long pointer, final CLContext context, final CLDevice device)

Method Detail

getCLDeviceback to summary
public CLDevice getCLDevice()
getCLEventback to summary
public CLEvent getCLEvent(final long id)

Returns a CLEvent associated with this command-queue.

Parameters
id:long

the event object id

Returns:CLEvent

the CLEvent object

getCLEventRegistryback to summary
pack-priv CLObjectRegistry<CLEvent> getCLEventRegistry()
getInfoIntback to summary
public int getInfoInt(int param_name)

Returns the integer value of the specified parameter.

Parameters
param_name:int

the parameter

Returns:int

the parameter value

registerCLEventback to summary
pack-priv void registerCLEvent(final PointerBuffer event)

Called from OpenCL methods that generate CLEvents.

Parameters
event:PointerBuffer

a buffer containing a CLEvent pointer.

releaseback to summary
pack-priv int release()

Overrides org.lwjgl.opencl.CLObjectRetainable.release.