cubecl_hip_sys

Function hipCtxGetSharedMemConfig

Source
pub unsafe extern "C" fn hipCtxGetSharedMemConfig(
    pConfig: *mut hipSharedMemConfig,
) -> hipError_t
Expand description

@brief Get Shared memory bank configuration.

@param [out] pConfig Pointer of shared memory configuration

@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

@warning This API is deprecated on the AMD platform, only for equivalent cuCtx driver API on the NVIDIA platform.