Catch2 Test Fixes (#2961)

* test fixes

* address PR comment

* PR comment fixing Nvidia pass

* add additional kernel launch checks

* pr comments
此提交包含在:
Paulius Velesko
2022-10-01 01:07:25 +03:00
提交者 GitHub
父節點 609edf1c9e
當前提交 da453211ed
共有 94 個檔案被更改,包括 177 行新增 和 34 行删除
+1
查看文件
@@ -146,6 +146,7 @@ TEST_CASE("Unit_bitExtract") {
hipLaunchKernelGGL(HIP_kernel, dim3(num_blocks), dim3(num_threads_per_block), 0, 0, deviceOut32,
deviceSrc032, deviceSrc132, deviceSrc232, deviceOut64, deviceSrc064,
deviceSrc164, deviceSrc264);
HIP_CHECK(hipGetLastError());
HIP_CHECK(hipMemcpy(hostOut32, deviceOut32, NUM * sizeof(unsigned int), hipMemcpyDeviceToHost));