From 12a307219a05ab33b4485016147a8e4bca07bbb1 Mon Sep 17 00:00:00 2001 From: Julia Jiang Date: Thu, 27 Jun 2024 15:04:01 -0400 Subject: [PATCH] SWDEV-470017 - Changed the return value for the API hipMemGetAdressRange Change-Id: I6ccc627d3d233610f4509e0323cfef5bf92422a6 [ROCm/hip commit: 9e407373f4cfa2289b0f04dd80eb0e9254222037] --- projects/hip/include/hip/hip_runtime_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/include/hip/hip_runtime_api.h b/projects/hip/include/hip/hip_runtime_api.h index 6cccb8c63f..dd17b062da 100644 --- a/projects/hip/include/hip/hip_runtime_api.h +++ b/projects/hip/include/hip/hip_runtime_api.h @@ -4995,7 +4995,7 @@ hipError_t hipDeviceDisablePeerAccess(int peerDeviceId); * @param [out] psize - Size of allocation * @param [in] dptr- Device Pointer * - * @returns #hipSuccess, #hipErrorInvalidDevicePointer + * @returns #hipSuccess, #hipErrorNotFound * * @see hipCtxCreate, hipCtxDestroy, hipCtxGetFlags, hipCtxPopCurrent, hipCtxGetCurrent, * hipCtxSetCurrent, hipCtxPushCurrent, hipCtxSetCacheConfig, hipCtxSynchronize, hipCtxGetDevice