cuCtxSetCacheConfig: Sets the preferred cache configuration for the current...

Description Usage Arguments References See Also

Description

On devices where the L1 cache and shared memory use the same hardware resources, this sets through config the preferred cache configuration for the current context. This is only a preference. The driver will use the requested configuration if possible, but it is free to choose a different configuration if required to execute the function. Any function preference set via cuFuncSetCacheConfig() will be preferred over this context-wide setting. Setting the context-wide cache configuration to CU_FUNC_CACHE_PREFER_NONE will cause subsequent kernel launches to prefer to not change the cache configuration unless required to launch the kernel.

Usage

1

Arguments

config

Requested cache configuration

References

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

See Also

cuCtxCreate cuCtxDestroy cuCtxGetApiVersion cuCtxGetCacheConfig cuCtxGetDevice cuCtxGetLimit cuCtxPopCurrent cuCtxPushCurrent cuCtxSetLimit cuCtxSynchronize cuFuncSetCacheConfig


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