From c437ca95d279028526be582e862119bfc501e038 Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Mon, 2 Jan 2023 10:13:56 +0530 Subject: [PATCH] SWDEV-364373 - updated doxygen for the API hipDeviceSetCacheConfig (#3112) Change-Id: Icbbeb16b043b73c4d810710e3504dae593c34295 --- include/hip/hip_runtime_api.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/include/hip/hip_runtime_api.h b/include/hip/hip_runtime_api.h index 3ae553cd3b..70ae8a5896 100644 --- a/include/hip/hip_runtime_api.h +++ b/include/hip/hip_runtime_api.h @@ -1645,9 +1645,10 @@ hipError_t hipGetDeviceProperties(hipDeviceProp_t* prop, int deviceId); * * @param [in] cacheConfig * - * @returns #hipSuccess, #hipErrorNotInitialized - * Note: AMD devices and some Nvidia GPUS do not support reconfigurable cache. This hint is ignored - * on those architectures. + * @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. * */ hipError_t hipDeviceSetCacheConfig(hipFuncCache_t cacheConfig); @@ -1657,8 +1658,8 @@ hipError_t hipDeviceSetCacheConfig(hipFuncCache_t cacheConfig); * @param [out] cacheConfig * * @returns #hipSuccess, #hipErrorNotInitialized - * Note: AMD devices and some Nvidia GPUS do not support reconfigurable cache. This hint is ignored - * on those architectures. + * Note: AMD devices do not support reconfigurable cache. This hint is ignored + * on these architectures. * */ hipError_t hipDeviceGetCacheConfig(hipFuncCache_t* cacheConfig);