cubecl_hip_sys

Function hipCtxGetCacheConfig

Source
pub unsafe extern "C" fn hipCtxGetCacheConfig(
    cacheConfig: *mut hipFuncCache_t,
) -> hipError_t
Expand description

@brief Get Cache configuration for a specific function

@param [out] cacheConfig Cache configuration

@return #hipSuccess

@warning AMD devices and some Nvidia GPUS do not support reconfigurable cache. This 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.