cubecl_hip_sys

Function hipFuncSetCacheConfig

Source
pub unsafe extern "C" fn hipFuncSetCacheConfig(
    func: *const c_void,
    config: hipFuncCache_t,
) -> hipError_t
Expand description

@brief Set Cache configuration for a specific function

@param [in] func Pointer of the function. @param [in] config Configuration to set.

@returns #hipSuccess, #hipErrorNotInitialized Note: AMD devices and some Nvidia GPUS do not support reconfigurable cache. This hint is ignored on those architectures.