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

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

Change-Id: I3d171540403f74222e631d1a8e393386461c9729
This commit is contained in:
ROCm CI Service Account
2022-08-31 05:23:21 +05:30
committed by GitHub
parent ba5a0b9af5
commit d0aaed906d
24 changed files with 100 additions and 99 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ TEST_CASE("Unit_hiprtc_warpsize") {
hipDeviceProp_t props;
int device = 0;
hipGetDeviceProperties(&props, device);
HIP_CHECK(hipGetDeviceProperties(&props, device));
#ifdef __HIP_PLATFORM_AMD__
std::string sarg = std::string("--gpu-architecture=") + props.gcnArchName;
#else