Catch2 Test Fixes (#2961)

* test fixes

* address PR comment

* PR comment fixing Nvidia pass

* add additional kernel launch checks

* pr comments


[ROCm/hip-tests commit: da453211ed]
Cette révision appartient à :
Paulius Velesko a créé et GitHub a révisé 2022-09-30 15:07:25 -07:00
1 Parent c9c04d65da
révision 65a428aaff
94 fichiers modifiés
+177 -34

Aucun fichier ne correspond à votre recherche

+2
Voir le fichier
@@ -59,8 +59,10 @@ TEST_CASE("Unit_hipStreamCreate_MultistreamBasicFunctionalities") {
hipLaunchKernelGGL(HIP_KERNEL_NAME(hipAPIStreamDisableTest::kernel),
dim3(1), dim3(1), 0, streams[i], data[i], xd,
hipAPIStreamDisableTest::NN);
HIP_CHECK(hipGetLastError());
hipLaunchKernelGGL(HIP_KERNEL_NAME(hipAPIStreamDisableTest::nKernel),
dim3(1), dim3(1), 0, 0, yd);
HIP_CHECK(hipGetLastError());
HIP_CHECK(hipStreamDestroy(streams[i]));
}
HIP_CHECK(hipMemcpy(&x, xd, sizeof(float), hipMemcpyDeviceToHost));