Module openj9.cuda
Package com.ibm.cuda

Enum Class CudaJitTarget

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

public enum CudaJitTarget extends Enum<CudaJitTarget>
CudaJitTarget identifies the target compute device class for linking and loading modules.
  • Enum Constant Details

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

    • values

      public static CudaJitTarget[] 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 CudaJitTarget 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