public static enum CLMemory.Map extends Enum<CLMemory.Map>
Enum Constant and Description |
---|
READ
Enum representing CL_MAP_READ.
|
READ_WRITE
Enum representing CL_MAP_READ | CL_MAP_WRITE.
|
WRITE
Enum representing CL_MAP_WRITE.
|
Modifier and Type | Field and Description |
---|---|
int |
FLAGS
Value of wrapped OpenCL flag.
|
Modifier and Type | Method and Description |
---|---|
CLMemory.Map |
valueOf(int flag) |
static CLMemory.Map |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLMemory.Map[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLMemory.Map READ_WRITE
public static final CLMemory.Map WRITE
public static final CLMemory.Map READ
public static CLMemory.Map[] values()
for (CLMemory.Map c : CLMemory.Map.values()) System.out.println(c);
public static CLMemory.Map 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 CLMemory.Map valueOf(int flag)