Main Page
Modules
Data Structures
Related Pages
Context Management
cuCtxAttach
cuCtxCreate
cuCtxDestroy
cuCtxDetach
cuCtxGetDevice
cuCtxGetLimit
cuCtxPopCurrent
cuCtxPushCurrent
cuCtxSetLimit
cuCtxSynchronize
cuCtxGetLimit
(
size_t *
pvalue
,
CUlimit
limit
)
Returns in
*pvalue
the current size of
limit
. The supported
CUlimit
values are:
CU_LIMIT_STACK_SIZE
: stack size of each GPU thread;
CU_LIMIT_PRINTF_FIFO_SIZE
: size of the FIFO used by the printf() device system call.
Parameters:
limit
- Limit to query
pvalue
- Returned size in bytes of limit
Returns:
CUDA_SUCCESS
,
CUDA_ERROR_INVALID_VALUE
,
CUDA_ERROR_UNSUPPORTED_LIMIT
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cuCtxSetLimit
Generated by Doxygen for NVIDIA CUDA Library