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