public static enum CLDevice.LocalMemType extends Enum<CLDevice.LocalMemType>
Enum Constant and Description |
---|
GLOBAL
GLOBAL implies that no dedicated memory storage is available (global mem is used instead).
|
LOCAL
LOCAL implies dedicated local memory storage such as SRAM.
|
Modifier and Type | Field and Description |
---|---|
int |
TYPE
Value of wrapped OpenCL value.
|
Modifier and Type | Method and Description |
---|---|
static CLDevice.LocalMemType |
valueOf(int clLocalCacheType)
Returns the matching LocalMemCacheType for the given cl type.
|
static CLDevice.LocalMemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLDevice.LocalMemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLDevice.LocalMemType GLOBAL
public static final CLDevice.LocalMemType LOCAL
public static CLDevice.LocalMemType[] values()
for (CLDevice.LocalMemType c : CLDevice.LocalMemType.values()) System.out.println(c);
public static CLDevice.LocalMemType 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.LocalMemType valueOf(int clLocalCacheType)