public static enum CudaDevice.Limit extends java.lang.Enum<CudaDevice.Limit>
Limit
identifies device limits that may be queried or configured.Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
static CudaDevice.Limit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CudaDevice.Limit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CudaDevice.Limit DEV_RUNTIME_PENDING_LAUNCH_COUNT
public static final CudaDevice.Limit DEV_RUNTIME_SYNC_DEPTH
public static final CudaDevice.Limit MALLOC_HEAP_SIZE
public static final CudaDevice.Limit PRINTF_FIFO_SIZE
public static final CudaDevice.Limit STACK_SIZE
public static CudaDevice.Limit[] values()
for (CudaDevice.Limit c : CudaDevice.Limit.values()) System.out.println(c);
public static CudaDevice.Limit valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullEclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 2013, 2025 IBM Corp. and others.