Module openj9.cuda
Package com.ibm.cuda

Enum CudaJitInputType

    • 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 name
        NullPointerException - if the argument is null