public static enum CLDevice.GlobalMemCacheType extends Enum<CLDevice.GlobalMemCacheType>
Enum Constant and Description |
---|
NONE
Global memory cache not supported.
|
READ_ONLY
Read only cache.
|
READ_WRITE
Read-write cache.
|
Modifier and Type | Field and Description |
---|---|
int |
TYPE
Value of wrapped OpenCL value.
|
Modifier and Type | Method and Description |
---|---|
static CLDevice.GlobalMemCacheType |
valueOf(int bitfield)
Returns the matching GlobalMemCacheType for the given cl type.
|
static CLDevice.GlobalMemCacheType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLDevice.GlobalMemCacheType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLDevice.GlobalMemCacheType NONE
public static final CLDevice.GlobalMemCacheType READ_ONLY
public static final CLDevice.GlobalMemCacheType READ_WRITE
public static CLDevice.GlobalMemCacheType[] values()
for (CLDevice.GlobalMemCacheType c : CLDevice.GlobalMemCacheType.values()) System.out.println(c);
public static CLDevice.GlobalMemCacheType 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 CLDevice.GlobalMemCacheType valueOf(int bitfield)