cubecl_hip_sys

Function hipDeviceSetCacheConfig

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

@brief Set L1/Shared cache partition.

@param [in] cacheConfig Cache configuration

@returns #hipSuccess, #hipErrorNotInitialized, #hipErrorNotSupported

Note: AMD devices do not support reconfigurable cache. This API is not implemented on AMD platform. If the function is called, it will return hipErrorNotSupported.