Top Description Inners Fields Constructors Methods
org.lwjgl.opencl

public final Class CLEvent

extends CLObjectChild<CLContext>
Class Inheritance

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static interface
CLEvent.CLEventUtil

CLEvent utility methods interface.

Field Summary

Modifier and TypeField and Description
private final CLCommandQueue
private static final CLEvent.CLEventUtil

Constructor Summary

AccessConstructor and Description
pack-priv
CLEvent(final long pointer, final CLContext context)

pack-priv
CLEvent(final long pointer, final CLCommandQueue queue)

pack-priv
CLEvent(final long pointer, final CLContext context, final CLCommandQueue queue)

Method Summary

Modifier and TypeMethod and Description
public CLCommandQueue

Returns:

the command-queue or null if this is a user event
getCLCommandQueue
()

Returns the command-queue associated with this event.

public int

Returns:

the parameter value
getInfoInt
(final int
the parameter
param_name
)

Returns the integer value of the specified parameter.

pack-priv CLObjectRegistry<CLEvent>
public long

Returns:

the parameter value
getProfilingInfoLong
(int
the parameter
param_name
)

Returns the long value of the specified parameter.

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

Field Detail

queueback to summary
private final CLCommandQueue queue
utilback to summary
private static final CLEvent.CLEventUtil util

Constructor Detail

CLEventback to summary
pack-priv CLEvent(final long pointer, final CLContext context)
CLEventback to summary
pack-priv CLEvent(final long pointer, final CLCommandQueue queue)
CLEventback to summary
pack-priv CLEvent(final long pointer, final CLContext context, final CLCommandQueue queue)

Method Detail

getCLCommandQueueback to summary
public CLCommandQueue getCLCommandQueue()

Returns the command-queue associated with this event. For user events this method returns null.

Returns:CLCommandQueue

the command-queue or null if this is a user event

getInfoIntback to summary
public int getInfoInt(final int param_name)

Returns the integer value of the specified parameter.

Parameters
param_name:int

the parameter

Returns:int

the parameter value

getParentRegistryback to summary
pack-priv CLObjectRegistry<CLEvent> getParentRegistry()
getProfilingInfoLongback to summary
public long getProfilingInfoLong(int param_name)

Returns the long value of the specified parameter. Can be used for both cl_ulong and cl_bitfield parameters.

Parameters
param_name:int

the parameter

Returns:long

the parameter value

releaseback to summary
pack-priv int release()

Overrides org.lwjgl.opencl.CLObjectRetainable.release.

org.lwjgl.opencl back to summary

pack-priv Interface CLEvent.CLEventUtil

extends InfoUtil<CLEvent>
Known Direct Implementers
org.lwjgl.opencl.InfoUtilFactory.CLEventUtil

CLEvent utility methods interface.

Method Summary

Modifier and TypeMethod and Description
public long
getProfilingInfoLong(CLEvent event, int param_name)

Inherited from org.lwjgl.opencl.InfoUtil:
getInfoIntgetInfoLonggetInfoSizegetInfoSizeArraygetInfoString

Method Detail

getProfilingInfoLongback to summary
public long getProfilingInfoLong(CLEvent event, int param_name)