public static enum CLEvent.CommandType extends Enum<CLEvent.CommandType>
Modifier and Type | Field and Description |
---|---|
int |
TYPE
Value of wrapped OpenCL command type.
|
Modifier and Type | Method and Description |
---|---|
static CLEvent.CommandType |
valueOf(int commandType) |
static CLEvent.CommandType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLEvent.CommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLEvent.CommandType NDRANGE_KERNEL
public static final CLEvent.CommandType TASK
public static final CLEvent.CommandType NATIVE_KERNEL
public static final CLEvent.CommandType READ_BUFFER
public static final CLEvent.CommandType WRITE_BUFFER
public static final CLEvent.CommandType COPY_BUFFER
public static final CLEvent.CommandType READ_IMAGE
public static final CLEvent.CommandType WRITE_IMAGE
public static final CLEvent.CommandType COPY_IMAGE
public static final CLEvent.CommandType COPY_BUFFER_TO_IMAGE
public static final CLEvent.CommandType COPY_IMAGE_TO_BUFFER
public static final CLEvent.CommandType MAP_BUFFER
public static final CLEvent.CommandType MAP_IMAGE
public static final CLEvent.CommandType UNMAP_MEM_OBJECT
public static final CLEvent.CommandType MARKER
public static final CLEvent.CommandType READ_BUFFER_RECT
public static final CLEvent.CommandType WRITE_BUFFER_RECT
public static final CLEvent.CommandType COPY_BUFFER_RECT
public static final CLEvent.CommandType USER
public static final CLEvent.CommandType ACQUIRE_GL_OBJECTS
public static final CLEvent.CommandType RELEASE_GL_OBJECTS
public static final CLEvent.CommandType GL_FENCE_SYNC_OBJECT_KHR
public static CLEvent.CommandType[] values()
for (CLEvent.CommandType c : CLEvent.CommandType.values()) System.out.println(c);
public static CLEvent.CommandType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static CLEvent.CommandType valueOf(int commandType)