Changed function hipMemcpy_2D to hipMemcpyParam2D

This commit is contained in:
Rahul Garg
2017-11-21 12:36:24 +05:30
والد 741702888f
کامیت 3d2e40a5df
@@ -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");