Module openj9.cuda
Package com.ibm.cuda

Enum Class CudaDevice.Limit

java.lang.Object
java.lang.Enum<CudaDevice.Limit>
com.ibm.cuda.CudaDevice.Limit
All Implemented Interfaces:
Serializable, Comparable<CudaDevice.Limit>, Constable
Enclosing class:
CudaDevice

public static enum CudaDevice.Limit extends Enum<CudaDevice.Limit>
Limit identifies device limits that may be queried or configured.
  • Enum Constant Details

    • DEV_RUNTIME_PENDING_LAUNCH_COUNT

      public static final CudaDevice.Limit DEV_RUNTIME_PENDING_LAUNCH_COUNT
      maximum number of outstanding device runtime launches that can be made from this context
    • DEV_RUNTIME_SYNC_DEPTH

      public static final CudaDevice.Limit DEV_RUNTIME_SYNC_DEPTH
      maximum grid depth at which a thread can issue the device runtime call ::cudaDeviceSynchronize() to wait on child grid launches to complete
    • MALLOC_HEAP_SIZE

      public static final CudaDevice.Limit MALLOC_HEAP_SIZE
      size in bytes of the heap used by the ::malloc() and ::free() device system calls
    • PRINTF_FIFO_SIZE

      public static final CudaDevice.Limit PRINTF_FIFO_SIZE
      size in bytes of the FIFO used by the ::printf() device system call
    • STACK_SIZE

      public static final CudaDevice.Limit STACK_SIZE
      stack size in bytes of each GPU thread
  • Method Details

    • values

      public static CudaDevice.Limit[] 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 CudaDevice.Limit 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