Changed function hipMemcpy_2D to hipMemcpyParam2D

Αυτή η υποβολή περιλαμβάνεται σε:
Rahul Garg committed 2017-11-21 12:36:24 +05:30
1 γονέας 741702888f
υποβολή 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");