Function rcudnn::cudaThreadGetLimit [−][src]
Expand description
\brief Returns resource limits
\deprecated
Note that this function is deprecated because its name does not reflect its behavior. Its functionality is identical to the non-deprecated function ::cudaDeviceGetLimit(), which should be used instead.
Returns in \p *pValue the current size of \p limit. The supported ::cudaLimit values are:
- ::cudaLimitStackSize: stack size of each GPU thread;
- ::cudaLimitPrintfFifoSize: size of the shared FIFO used by the ::printf() device system call.
- ::cudaLimitMallocHeapSize: size of the heap used by the ::malloc() and ::free() device system calls;
\param limit - Limit to query \param pValue - Returned size in bytes of limit
\return ::cudaSuccess, ::cudaErrorUnsupportedLimit, ::cudaErrorInvalidValue \notefnerr \note_init_rt \note_callback
\sa ::cudaDeviceGetLimit