[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
Este commit está contenido en:
Evgeny Mankov
2019-05-22 18:31:39 +03:00
padre 7068859ff4
commit 9cb3e9aa5e
Se han modificado 7 ficheros con 43 adiciones y 21 borrados
@@ -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;