Function hip_sys::hiprt::hipCtxSetSharedMemConfig
source · pub unsafe extern "C" fn hipCtxSetSharedMemConfig(
config: hipSharedMemConfig
) -> hipError_tExpand description
@brief Set Shared memory bank configuration.
@param [in] sharedMemoryConfiguration
@return #hipSuccess
@warning AMD devices and some Nvidia GPUS do not support shared cache banking, and the hint is ignored on those architectures.
@see hipCtxCreate, hipCtxDestroy, hipCtxGetFlags, hipCtxPopCurrent, hipCtxGetCurrent, hipCtxSetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice