cudaFuncSetSharedMemConfig: Sets the shared memory configuration for a device function

Description Usage Arguments References See Also

Description

On devices with configurable shared memory banks, this function will force all subsequent launches of the specified device function to have the given shared memory bank size configuration. On any given launch of the function, the shared memory configuration of the device will be temporarily changed if needed to suit the function's preferred configuration. Changes in shared memory configuration between subsequent launches of functions, may introduce a device side synchronization point.

Usage

1

Arguments

func

Device function symbol

config

Requested shared memory configuration

References

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

See Also

cudaConfigureCall cudaDeviceSetSharedMemConfig cudaDeviceGetSharedMemConfig cudaDeviceSetCacheConfig cudaDeviceGetCacheConfig cudaFuncSetCacheConfig


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