Description Usage Arguments Value References See Also
Returns the current size of limit
. The supported
CUlimit
values are:
- CU_LIMIT_STACK_SIZE
: stack size in bytes of each GPU thread.
- CU_LIMIT_PRINTF_FIFO_SIZE
: size in bytes of the FIFO used by the
printf
() device system call.
- CU_LIMIT_MALLOC_HEAP_SIZE
: size in bytes of the heap used by the
malloc
() and free
() device system calls.
- CU_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.
- CU_LIMIT_DEV_RUNTIME_PENDING_LAUNCH_COUNT
: maximum number of outstanding
device runtime launches that can be made from this context.
1 | cuCtxGetLimit(limit)
|
limit |
Limit to query |
pvalue
http://docs.nvidia.com/cuda/cuda-driver-api/index.html
cuCtxCreate
cuCtxDestroy
cuCtxGetApiVersion
cuCtxGetCacheConfig
cuCtxGetDevice
cuCtxPopCurrent
cuCtxPushCurrent
cuCtxSetCacheConfig
cuCtxSetLimit
cuCtxSynchronize
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.