cudaDeviceGetLimit: Returns resource limits

Description Usage Arguments Value References See Also

Description

Returns the current size of limit. The supported cudaLimit values are: - cudaLimitStackSize: stack size in bytes of each GPU thread; - cudaLimitPrintfFifoSize: size in bytes of the shared FIFO used by the printf() and fprintf() device system calls. - cudaLimitMallocHeapSize: size in bytes of the heap used by the malloc() and free() device system calls; - cudaLimitDevRuntimeSyncDepth: maximum grid depth at which a thread can isssue the device runtime call cudaDeviceSynchronize() to wait on child grid launches to complete. - cudaLimitDevRuntimePendingLaunchCount: maximum number of outstanding device runtime launches.

Usage

1

Arguments

limit

Limit to query

Value

pValue

References

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

See Also

cudaDeviceSetLimit


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