cudaFuncSetCacheConfig: Sets the preferred cache configuration for a device function

Description Usage Arguments References See Also

Description

On devices where the L1 cache and shared memory use the same hardware resources, this sets through cacheConfig the preferred cache configuration for the function specified via func. This is only a preference. The runtime will use the requested configuration if possible, but it is free to choose a different configuration if required to execute func.

Usage

1
cudaFuncSetCacheConfig(func, cacheConfig)

Arguments

func

Device function symbol

cacheConfig

Requested cache configuration

References

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

See Also

cudaConfigureCall cudaFuncSetCacheConfig cudaFuncGetAttributes cudaLaunch cudaSetDoubleForDevice cudaSetDoubleForHost cudaSetupArgument cudaThreadGetCacheConfig cudaThreadSetCacheConfig


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