From a22275441e1f6a067314c99487c29cfac77e87fa Mon Sep 17 00:00:00 2001 From: "Betigeri, Sourabh" Date: Thu, 5 Jun 2025 23:51:27 -0700 Subject: [PATCH] SWDEV-454484 - Removes const qualifier for hipMemcpyAtoH (#123) [ROCm/hip commit: da1b73ee474226895bf57f6f9943f7a8e8f996c0] --- projects/hip/include/hip/hip_runtime_api.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/hip/include/hip/hip_runtime_api.h b/projects/hip/include/hip/hip_runtime_api.h index ceac2cafda..acf1508068 100644 --- a/projects/hip/include/hip/hip_runtime_api.h +++ b/projects/hip/include/hip/hip_runtime_api.h @@ -2663,7 +2663,7 @@ hipError_t hipStreamCreateWithFlags(hipStream_t* stream, unsigned int flags); * subsequent hipStream* commands. The stream is allocated on the heap and will remain allocated * even if the handle goes out-of-scope. To release the memory used by the stream, application must * call hipStreamDestroy. - * + * * The @p flags parameter controls behavior of the stream. The valid values are #hipStreamDefault * and #hipStreamNonBlocking. * @@ -4605,7 +4605,7 @@ hipError_t hipMemcpyDtoDAsync(hipDeviceptr_t dst, hipDeviceptr_t src, size_t siz * hipMemcpyHtoDAsync, hipMemFree, hipMemFreeHost, hipMemGetAddressRange, hipMemGetInfo, * hipMemHostAlloc, hipMemHostGetDevicePointer */ -hipError_t hipMemcpyAtoHAsync(void* dstHost, const hipArray_t srcArray, size_t srcOffset, +hipError_t hipMemcpyAtoHAsync(void* dstHost, hipArray_t srcArray, size_t srcOffset, size_t ByteCount, hipStream_t stream); /** * @brief Copies from host memory to a 1D array. @@ -6277,7 +6277,7 @@ hipError_t hipDrvLaunchKernelEx(const HIP_LAUNCH_CONFIG* config, hipFunction_t f * * @returns #hipSuccess if the kernel is launched successfully, otherwise an appropriate error code. */ - hipError_t hipMemGetHandleForAddressRange(void* handle, hipDeviceptr_t dptr, size_t size, + hipError_t hipMemGetHandleForAddressRange(void* handle, hipDeviceptr_t dptr, size_t size, hipMemRangeHandleType handleType, unsigned long long flags); // doxygen end Module