SWDEV-310181 - Fix for memcpy3D test failure (#2455)
This commit is contained in:
committed by
GitHub
orang tua
b59522d188
melakukan
3fcc42d05e
@@ -272,6 +272,7 @@ void Memcpy3D<T>::NegativeTests() {
|
||||
AllocateMemory();
|
||||
|
||||
// Initialization of data
|
||||
memset(&myparms, 0, sizeof(myparms));
|
||||
myparms.srcPos = make_hipPos(0, 0, 0);
|
||||
myparms.dstPos = make_hipPos(0, 0, 0);
|
||||
myparms.extent = make_hipExtent(width , height, depth);
|
||||
|
||||
@@ -290,6 +290,7 @@ void Memcpy3DAsync<T>::NegativeTests() {
|
||||
HIP_CHECK(hipStreamCreate(&stream));
|
||||
|
||||
// Initialization of data
|
||||
memset(&myparms, 0, sizeof(myparms));
|
||||
myparms.srcPos = make_hipPos(0, 0, 0);
|
||||
myparms.dstPos = make_hipPos(0, 0, 0);
|
||||
myparms.extent = make_hipExtent(width , height, depth);
|
||||
|
||||
Reference in New Issue
Block a user