Changed function hipMemcpy_2D to hipMemcpyParam2D

This commit is contained in:
Rahul Garg committed 2017-11-21 12:36:24 +05:30
1 vanhempi 741702888f
commit 3d2e40a5df
1 file changed
+1 -1
@@ -70,7 +70,7 @@ bool runTest(int argc, char **argv)
copyParam.srcPitch = width * sizeof(float);
copyParam.widthInBytes = copyParam.srcPitch;
copyParam.height = height;
hipMemcpy_2D(&copyParam);
hipMemcpyParam2D(&copyParam);
textureReference* texref;
hipModuleGetTexRef(&texref, Module, "tex");