Function hip_sys::hiprt::hipCtxGetCacheConfig
source · pub unsafe extern "C" fn hipCtxGetCacheConfig(
cacheConfig: *mut hipFuncCache_t
) -> hipError_tExpand description
@brief Set Cache configuration for a specific function
@param [out] cacheConfiguration
@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