Description Usage Arguments References See Also
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.
1 | cuFuncSetSharedMemConfig(hfunc, config)
|
hfunc |
kernel to be given a shared memory config |
config |
requested shared memory configuration |
http://docs.nvidia.com/cuda/cuda-driver-api/index.html
cuCtxGetCacheConfig
cuCtxSetCacheConfig
cuCtxGetSharedMemConfig
cuCtxSetSharedMemConfig
cuFuncGetAttribute
cuLaunchKernel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.