pub unsafe extern "C" fn hipCtxSetCacheConfig(
    cacheConfig: hipFuncCache_t
) -> hipError_t
Expand description

@brief Set L1/Shared cache partition.

@param [in] 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