Catch2 Test Fixes (#2961)

* test fixes

* address PR comment

* PR comment fixing Nvidia pass

* add additional kernel launch checks

* pr comments
Tá an tiomantas seo le fáil i:
Paulius Velesko údaraithe agus GitHub tiomanta 2022-09-30 15:07:25 -07:00
1 tuismitheoir 2c35e99c9d
tiomantas c02b15fc7c
97 comhad athraithe
+183 -40

Níor tháinig aon chomhaid le do chuardach

+1
Féach ar an gComhad
@@ -129,6 +129,7 @@ template <typename T, typename D> void testType(int msize) {
auto kernel = testOperationsGPU<T, D>;
hipLaunchKernelGGL(kernel, 1, msize, 0, 0, d_fa, d_fb, msize);
HIP_CHECK(hipGetLastError());
HIP_CHECK(hipMemcpy(fc, d_fa, sizeof(T) * msize, hipMemcpyDeviceToHost));