Fixes #1790 and #1791. hipMemcpy3D still requires further refactoring for different input and output combinations.

[ROCm/clr commit: ec84c16d75]
Этот коммит содержится в:
Rahul Garg authored and GitHub committed 2020-02-17 19:35:35 +05:30
1 родитель 734b90c592
Коммит 6f1d14c96d
5 files changed
+249 -116

No files matched your search

+1 -1
Просмотреть файл
@@ -65,7 +65,7 @@ void runTest(int width,int height,int num_layers,texture<T, hipTextureType2DLaye
myparms.dstPos = make_hipPos(0,0,0);
myparms.srcPtr = make_hipPitchedPtr(hData, width * sizeof(T), width, height);
myparms.dstArray = arr;
myparms.extent = make_hipExtent(width, height, num_layers);
myparms.extent = make_hipExtent(width , height, num_layers);
//myparms.kind = hipMemcpyHostToDevice;
HIPCHECK(hipMemcpy3D(&myparms));