SWDEV-353807 - Fixes multiple catch issues (#2912)

- enforcing c++17 for all tests
- Warning as error: ignoring return value

Change-Id: I3d171540403f74222e631d1a8e393386461c9729
Dieser Commit ist enthalten in:
ROCm CI Service Account verfasst und GitHub committed 2022-08-30 16:53:21 -07:00
1 Ursprung ba5a0b9af5
Commit d0aaed906d
24 Dateien geändert
+100 -99

Keine Dateien entsprechen Ihrer Suche

+1 -1
Datei anzeigen
@@ -69,7 +69,7 @@ TEST_CASE("Unit_hipTextureRef2D_Check") {
dim3 dimGrid(width / dimBlock.x, height / dimBlock.y, 1);
hipLaunchKernelGGL(tex2DKernel, dim3(dimGrid), dim3(dimBlock), 0, 0,
dData, width);
hipDeviceSynchronize();
HIP_CHECK(hipDeviceSynchronize());
float* hOutputData = reinterpret_cast<float*>(malloc(size));
REQUIRE(hOutputData != nullptr);