- java.lang.Object
-
- java.lang.Enum<CudaJitInputType>
-
- com.ibm.cuda.CudaJitInputType
-
- All Implemented Interfaces:
Serializable,Comparable<CudaJitInputType>
public enum CudaJitInputType extends Enum<CudaJitInputType>
CudaJitInputTypeidentifies the type of input being provided toCudaLinker#add(...).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUBINCompiled device-class-specific device code.FATBINARYBundle of multiple cubins and/or PTX of some device code.LIBRARYArchive of host objects with embedded device code.OBJECTHost object with embedded device code.PTXPTX source code.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CudaJitInputTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CudaJitInputType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CUBIN
public static final CudaJitInputType CUBIN
Compiled device-class-specific device code.Applicable options: none
-
FATBINARY
public static final CudaJitInputType FATBINARY
Bundle of multiple cubins and/or PTX of some device code.Applicable options: PTX compiler options, CudaJitOption.FALLBACK_STRATEGY
-
LIBRARY
public static final CudaJitInputType LIBRARY
Archive of host objects with embedded device code.Applicable options: PTX compiler options, CudaJitOption.FALLBACK_STRATEGY
-
OBJECT
public static final CudaJitInputType OBJECT
Host object with embedded device code.Applicable options: PTX compiler options, CudaJitOption.FALLBACK_STRATEGY
-
PTX
public static final CudaJitInputType PTX
PTX source code.Applicable options: PTX compiler options
-
-
Method Detail
-
values
public static CudaJitInputType[] 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 (CudaJitInputType c : CudaJitInputType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CudaJitInputType 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
-
-