- java.lang.Object
-
- java.lang.Enum<CudaJitTarget>
-
- com.ibm.cuda.CudaJitTarget
-
- All Implemented Interfaces:
Serializable
,Comparable<CudaJitTarget>
public enum CudaJitTarget extends Enum<CudaJitTarget>
CudaJitTarget
identifies the target compute device class for linking and loading modules.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Compute10
Compute device class 1.0.Compute11
Compute device class 1.1.Compute12
Compute device class 1.2.Compute13
Compute device class 1.3.Compute20
Compute device class 2.0.Compute21
Compute device class 2.1.Compute30
Compute device class 3.0.Compute35
Compute device class 3.5.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CudaJitTarget
valueOf(String name)
Returns the enum constant of this type with the specified name.static CudaJitTarget[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Compute10
public static final CudaJitTarget Compute10
Compute device class 1.0.
-
Compute11
public static final CudaJitTarget Compute11
Compute device class 1.1.
-
Compute12
public static final CudaJitTarget Compute12
Compute device class 1.2.
-
Compute13
public static final CudaJitTarget Compute13
Compute device class 1.3.
-
Compute20
public static final CudaJitTarget Compute20
Compute device class 2.0.
-
Compute21
public static final CudaJitTarget Compute21
Compute device class 2.1.
-
Compute30
public static final CudaJitTarget Compute30
Compute device class 3.0.
-
Compute35
public static final CudaJitTarget Compute35
Compute device class 3.5.
-
-
Method Detail
-
values
public static CudaJitTarget[] 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 (CudaJitTarget c : CudaJitTarget.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CudaJitTarget 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
-
-