cuCtxGetLimit: Returns resource limits

Description Usage Arguments Value References See Also

Description

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.

Usage

1

Arguments

limit

Limit to query

Value

pvalue

References

http://docs.nvidia.com/cuda/cuda-driver-api/index.html

See Also

cuCtxCreate cuCtxDestroy cuCtxGetApiVersion cuCtxGetCacheConfig cuCtxGetDevice cuCtxPopCurrent cuCtxPushCurrent cuCtxSetCacheConfig cuCtxSetLimit cuCtxSynchronize


duncantl/RCUDA documentation built on May 15, 2019, 5:26 p.m.