[HIP][HIPIFY] Split HIP_ARRAY_DESCRIPTOR struct to HIP_ARRAY_DESCRIPTOR and HIP_ARRAY3D_DESCRIPTOR

[Reason] To be compatible with CUDA [#1133]

Update HIP code, hipify-clang, tests and docs

[TODO] Add support of the corresponding functions on nvcc fallback path
이 커밋은 다음에 포함됨:
Evgeny Mankov가 2019-07-11 14:58:16 +03:00를 커밋했습니다
1 부모 a16cd0c69a
커밋 c7117df91b
8 파일이 변경됨
+245 -65

검색과 일치하는 파일 없음

+4 -4
파일 보기
@@ -58,10 +58,10 @@ bool runTest(int argc, char** argv) {
hipArray* array;
HIP_ARRAY_DESCRIPTOR desc;
desc.format = HIP_AD_FORMAT_FLOAT;
desc.numChannels = 1;
desc.width = width;
desc.height = height;
desc.Format = HIP_AD_FORMAT_FLOAT;
desc.NumChannels = 1;
desc.Width = width;
desc.Height = height;
hipArrayCreate(&array, &desc);
hip_Memcpy2D copyParam;