diff --git a/projects/clr/hipamd/include/hip/hcc_detail/hip_runtime_api.h b/projects/clr/hipamd/include/hip/hcc_detail/hip_runtime_api.h index dc7d1d7e01..16f13ebee2 100644 --- a/projects/clr/hipamd/include/hip/hcc_detail/hip_runtime_api.h +++ b/projects/clr/hipamd/include/hip/hcc_detail/hip_runtime_api.h @@ -1358,7 +1358,7 @@ hipError_t hipMalloc3DArray(hipArray_t *array, * @see hipMemcpy, hipMemcpyToArray, hipMemcpy2DToArray, hipMemcpyFromArray, hipMemcpyToSymbol, hipMemcpyAsync */ hipError_t hipMemcpy2D(void* dst, size_t dpitch, const void* src, size_t spitch, size_t width, size_t height, hipMemcpyKind kind); -hipError_t hipMemcpy_2D(const hip_Memcpy2D* pCopy); +hipError_t hipMemcpyParam2D(const hip_Memcpy2D* pCopy); /** * @brief Copies data between host and device. diff --git a/projects/clr/hipamd/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp b/projects/clr/hipamd/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp index 36030932d0..a19f4376c3 100644 --- a/projects/clr/hipamd/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp +++ b/projects/clr/hipamd/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp @@ -70,7 +70,7 @@ bool runTest(int argc, char **argv) copyParam.srcPitch = width * sizeof(float); copyParam.widthInBytes = copyParam.srcPitch; copyParam.height = height; - hipMemcpy_2D(©Param); + hipMemcpyParam2D(©Param); textureReference* texref; hipModuleGetTexRef(&texref, Module, "tex"); diff --git a/projects/clr/hipamd/src/hip_memory.cpp b/projects/clr/hipamd/src/hip_memory.cpp index 02f38497df..2b291b061b 100644 --- a/projects/clr/hipamd/src/hip_memory.cpp +++ b/projects/clr/hipamd/src/hip_memory.cpp @@ -1134,7 +1134,7 @@ hipError_t hipMemcpy2D(void* dst, size_t dpitch, const void* src, size_t spitch, return ihipLogStatus(e); } -hipError_t hipMemcpy_2D(const hip_Memcpy2D* pCopy) +hipError_t hipMemcpyParam2D(const hip_Memcpy2D* pCopy) { HIP_INIT_SPECIAL_API((TRACE_MCMD), pCopy); hipError_t e = hipSuccess;