- java.lang.Object
-
- java.lang.Enum<CudaJitOptions.CacheMode>
-
- com.ibm.cuda.CudaJitOptions.CacheMode
-
- All Implemented Interfaces:
Serializable
,Comparable<CudaJitOptions.CacheMode>
- Enclosing class:
- CudaJitOptions
public static enum CudaJitOptions.CacheMode extends Enum<CudaJitOptions.CacheMode>
CacheMode
identifies the cache management choices.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
Compile with no -dlcm flag specified.L1_DISABLED
Compile with L1 cache disabled.L1_ENABLED
Compile with L1 cache enabled.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CudaJitOptions.CacheMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static CudaJitOptions.CacheMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final CudaJitOptions.CacheMode DEFAULT
Compile with no -dlcm flag specified.
-
L1_DISABLED
public static final CudaJitOptions.CacheMode L1_DISABLED
Compile with L1 cache disabled.
-
L1_ENABLED
public static final CudaJitOptions.CacheMode L1_ENABLED
Compile with L1 cache enabled.
-
-
Method Detail
-
values
public static CudaJitOptions.CacheMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CudaJitOptions.CacheMode c : CudaJitOptions.CacheMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CudaJitOptions.CacheMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-