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

Description Usage Value References See Also

Description

This function will return in pConfig the current size of shared memory banks in the current context. On devices with configurable shared memory banks, cuCtxSetSharedMemConfig can be used to change this setting, so that all subsequent kernel launches will by default use the new bank size. When cuCtxGetSharedMemConfig 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

cuCtxCreate cuCtxDestroy cuCtxGetApiVersion cuCtxGetCacheConfig cuCtxGetDevice cuCtxGetLimit cuCtxPopCurrent cuCtxPushCurrent cuCtxSetLimit cuCtxSynchronize cuCtxGetSharedMemConfig cuFuncSetCacheConfig


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