Catch2 Test Fixes (#2961)

* test fixes

* address PR comment

* PR comment fixing Nvidia pass

* add additional kernel launch checks

* pr comments


[ROCm/hip commit: c02b15fc7c]
这个提交包含在:
Paulius Velesko 编写, GitHub 于 2022-09-30 15:07:25 -07:00 提交
1 父节点 d133dafb5c
当前提交 8d371ed6b6
97 个文件已更改
+183 -40

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

@@ -56,6 +56,7 @@ TEST_CASE("Unit_deviceFunctions_CompileTest") {
res = hipMalloc((void**)&Outd, SIZE);
REQUIRE(res == hipSuccess);
hipLaunchKernelGGL(floatMath, dim3(LEN, 1, 1), dim3(1, 1, 1), 0, 0, Ind, Outd);
HIP_CHECK(hipGetLastError());
res = hipDeviceSynchronize();
REQUIRE(res == hipSuccess);
res = hipGetLastError();