Function hip_sys::hiprt::hipCtxGetSharedMemConfig
source · pub unsafe extern "C" fn hipCtxGetSharedMemConfig(
pConfig: *mut hipSharedMemConfig
) -> hipError_tExpand description
@brief Get Shared memory bank configuration.
@param [out] 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