Module openj9.cuda
Package com.ibm.cuda

Enum CudaDevice.Limit

    • Enum Constant Detail

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

      • values

        public static CudaDevice.Limit[] 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 (CudaDevice.Limit c : CudaDevice.Limit.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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