cuCtxSetLimit: Set resource limits

Description Usage Arguments References See Also

Description

Setting limit to value is a request by the application to update the current limit maintained by the context. The driver is free to modify the requested value to meet h/w requirements (this could be clamping to minimum or maximum values, rounding up to nearest element size, etc). The application can use cuCtxGetLimit() to find out exactly what the limit has been set to.

Usage

1
cuCtxSetLimit(limit, value)

Arguments

limit

Limit to set

value

Size of limit

References

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

See Also

cuCtxCreate cuCtxDestroy cuCtxGetApiVersion cuCtxGetCacheConfig cuCtxGetDevice cuCtxGetLimit cuCtxPopCurrent cuCtxPushCurrent cuCtxSetCacheConfig cuCtxSynchronize


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