Enum Class CudaDevice.Limit
- All Implemented Interfaces:
Serializable
,Comparable<CudaDevice.Limit>
,Constable
- Enclosing class:
CudaDevice
Limit
identifies device limits that may be queried or configured.-
Nested Class Summary
Nested classes/interfaces declared in class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionmaximum number of outstanding device runtime launches that can be made from this contextmaximum grid depth at which a thread can issue the device runtime call ::cudaDeviceSynchronize() to wait on child grid launches to completesize in bytes of the heap used by the ::malloc() and ::free() device system callssize in bytes of the FIFO used by the ::printf() device system callstack size in bytes of each GPU thread -
Method Summary
Modifier and TypeMethodDescriptionstatic CudaDevice.Limit
Returns the enum constant of this class with the specified name.static CudaDevice.Limit[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEV_RUNTIME_PENDING_LAUNCH_COUNT
maximum number of outstanding device runtime launches that can be made from this context -
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
size in bytes of the heap used by the ::malloc() and ::free() device system calls -
PRINTF_FIFO_SIZE
size in bytes of the FIFO used by the ::printf() device system call -
STACK_SIZE
stack size in bytes of each GPU thread
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-