From 7e9c13f8de5c559f15ee9fae4587a6b46dfeeba8 Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Sat, 29 Jul 2017 06:50:56 +0530 Subject: [PATCH] fix hipMemcpy2DAsync [ROCm/hip commit: 0053e4db0341d970674f559d5a1467a4baa1ae11] --- projects/hip/src/hip_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/src/hip_memory.cpp b/projects/hip/src/hip_memory.cpp index 5f20fcb24b..9bb31d2d78 100644 --- a/projects/hip/src/hip_memory.cpp +++ b/projects/hip/src/hip_memory.cpp @@ -879,7 +879,7 @@ hipError_t hipMemcpy2D(void* dst, size_t dpitch, const void* src, size_t spitch, return ihipLogStatus(e); } -hipError_t hipMemcpy2D(void* dst, size_t dpitch, const void* src, size_t spitch, +hipError_t hipMemcpy2DAsync(void* dst, size_t dpitch, const void* src, size_t spitch, size_t width, size_t height, hipMemcpyKind kind, hipStream_t stream) { HIP_INIT_SPECIAL_API((TRACE_MCMD), dst, dpitch, src, spitch, width, height, kind, stream); if(width > dpitch || width > spitch)