Enum CudaComputeMode

java.lang.Object
java.lang.Enum<CudaComputeMode>
ai.rapids.cudf.CudaComputeMode
All Implemented Interfaces:
Serializable, Comparable<CudaComputeMode>, java.lang.constant.Constable

public enum CudaComputeMode extends Enum<CudaComputeMode>
This is the Java mapping of CUDA device compute modes.
  • Enum Constant Details

    • DEFAULT

      public static final CudaComputeMode DEFAULT
      Default compute mode Multiple threads can use cudaSetDevice() with this device.
    • EXCLUSIVE

      public static final CudaComputeMode EXCLUSIVE
      Compute-exclusive-thread mode Only one thread in one process will be able to use cudaSetDevice() with this device. WARNING: This mode was deprecated! Using EXCLUSIVE_PROCESS instead.
    • PROHIBITED

      public static final CudaComputeMode PROHIBITED
      Compute-prohibited mode No threads can use cudaSetDevice() with this device.
    • EXCLUSIVE_PROCESS

      public static final CudaComputeMode EXCLUSIVE_PROCESS
      Compute-exclusive-process mode Many threads in one process will be able to use cudaSetDevice() with this device.
  • Method Details

    • values

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

      public static CudaComputeMode 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