cudaDeviceGetSharedMemConfig: Returns the shared memory configuration for the current...

Description Usage Value References See Also

Description

This function will return in pConfig the current size of shared memory banks on the current device. On devices with configurable shared memory banks, cudaDeviceSetSharedMemConfig can be used to change this setting, so that all subsequent kernel launches will by default use the new bank size. When cudaDeviceGetSharedMemConfig is called on devices without configurable shared memory, it will return the fixed bank size of the hardware.

Usage

1

Value

pConfig

References

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

See Also

cudaDeviceSetCacheConfig cudaDeviceGetCacheConfig cudaDeviceSetSharedMemConfig cudaFuncSetCacheConfig


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