Main Page
Modules
Data Structures
Related Pages
Thread Management
cudaThreadExit
cudaThreadGetCacheConfig
cudaThreadGetLimit
cudaThreadSetCacheConfig
cudaThreadSetLimit
cudaThreadSynchronize
cudaError_t
cudaThreadGetLimit
(
size_t *
pValue
,
enum
cudaLimit
limit
)
Returns in
*pValue
the current size of
limit
. The supported
cudaLimit
values are:
cudaLimitStackSize
: stack size of each GPU thread;
cudaLimitPrintfFifoSize
: size of the FIFO used by the printf() device system call.
cudaLimitMallocHeapSize
: size of the heap used by the malloc() and free() device system calls;
Parameters:
limit
- Limit to query
pValue
- Returned size in bytes of limit
Returns:
cudaSuccess
,
cudaErrorUnsupportedLimit
,
cudaErrorInvalidValue
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaThreadSetLimit
Generated by Doxygen for NVIDIA CUDA Library