[HIP][HIPIFY] Make hipMemcpyParam2D coherent with cuMemcpy2D

+ Makes hip_Memcpy2D struct compatible with CUDA_MEMCPY2D struct
+ Add hipMemcpyParam2D support in nvcc fallback path
+ Update hipify-clang, tests and docs accordingly
This commit is contained in:
Evgeny Mankov
2019-05-22 18:31:39 +03:00
rodzic 4d496b906e
commit 66c182946e
@@ -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;