Merge pull request #1127 from emankov/master

[HIP][HIPIFY] Make hipMemcpyParam2D coherent with cuMemcpy2D
This commit is contained in:
Evgeny Mankov
2019-05-23 10:45:14 +03:00
committato da GitHub
@@ -71,8 +71,8 @@ bool runTest(int argc, char** argv) {
copyParam.srcMemoryType = hipMemoryTypeHost;
copyParam.srcHost = hData;
copyParam.srcPitch = width * sizeof(float);
copyParam.widthInBytes = copyParam.srcPitch;
copyParam.height = height;
copyParam.WidthInBytes = copyParam.srcPitch;
copyParam.Height = height;
hipMemcpyParam2D(&copyParam);
textureReference* texref;