From 3d2e40a5df750c791c7751478b490fb98a321ea9 Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Tue, 21 Nov 2017 12:36:24 +0530 Subject: [PATCH] Changed function hipMemcpy_2D to hipMemcpyParam2D --- samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp b/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp index 36030932d0..a19f4376c3 100644 --- a/samples/2_Cookbook/11_texture_driver/texture2dDrv.cpp +++ b/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");