Module openj9.cuda
Package com.ibm.cuda

Enum Class CudaJitInputType

java.lang.Object
java.lang.Enum<CudaJitInputType>
com.ibm.cuda.CudaJitInputType
All Implemented Interfaces:
Serializable, Comparable<CudaJitInputType>, Constable

public enum CudaJitInputType extends Enum<CudaJitInputType>
CudaJitInputType identifies the type of input being provided to CudaLinker#add(...).
  • Enum Constant Details

    • 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 Details

    • values

      public static CudaJitInputType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CudaJitInputType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null