cudaDeviceSetSharedMemConfig: Sets the shared memory configuration for the current device.

Description Usage Arguments References See Also

Description

On devices with configurable shared memory banks, this function will set the shared memory bank size which is used for all subsequent kernel launches. Any per-function setting of shared memory set via cudaFuncSetSharedMemConfig will override the device wide setting.

Usage

1

Arguments

config

Requested cache configuration

References

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

See Also

cudaDeviceSetCacheConfig cudaDeviceGetCacheConfig cudaDeviceGetSharedMemConfig cudaFuncSetCacheConfig


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