From da0bd3cc85d02bdc4b3bf14b7bbe89ff9ff26710 Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Fri, 17 Jun 2022 10:40:15 +0530 Subject: [PATCH] SWDEV-336536 - Changed doc for hipDeviceGetCacheConfig. (#2742) Change-Id: I0147cc8026788bad192258be28cde8497c0cd265 --- include/hip/hip_runtime_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/hip/hip_runtime_api.h b/include/hip/hip_runtime_api.h index edbca6df75..2ac304df2f 100644 --- a/include/hip/hip_runtime_api.h +++ b/include/hip/hip_runtime_api.h @@ -1516,9 +1516,9 @@ hipError_t hipGetDeviceProperties(hipDeviceProp_t* prop, int deviceId); */ hipError_t hipDeviceSetCacheConfig(hipFuncCache_t cacheConfig); /** - * @brief Set Cache configuration for a specific function + * @brief Get Cache configuration for a specific Device * - * @param [in] cacheConfig + * @param [out] cacheConfig * * @returns #hipSuccess, #hipErrorNotInitialized * Note: AMD devices and some Nvidia GPUS do not support reconfigurable cache. This hint is ignored