SWDEV-310181 - Fix for memcpy3D test failure (#2455)

[ROCm/hip commit: 3fcc42d05e]
这个提交包含在:
Sarbojit2019 编写, GitHub 于 2022-01-11 13:50:49 +05:30 提交
1 父节点 ca992e1dc3
当前提交 bc20b513c4
2 个文件已更改
+2

没有与搜索条件相匹配的文件

@@ -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);