public static enum CLDevice.LocalMemType extends Enum<CLDevice.LocalMemType> implements ValuedEnum
| Enum Constant and Description |
|---|
Global |
Local
implying dedicated local memory storage such as SRAM
|
| Modifier and Type | Method and Description |
|---|---|
static CLDevice.LocalMemType |
getEnum(long v) |
long |
value() |
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 Local
public static final CLDevice.LocalMemType Global
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 long value()
value in interface ValuedEnumpublic static CLDevice.LocalMemType getEnum(long v)
Copyright © 2009-2015. All Rights Reserved.