SWDEV-361383 - Fixing compilation issue for stress test files under catch2 framework (#2998)

Change-Id: I4253a6cdb2c10bcb0021f869b7b3c4f1acd28787

[ROCm/hip-tests commit: 339a51dcaf]
Cette révision appartient à :
ROCm CI Service Account
2022-10-19 16:52:24 +05:30
révisé par GitHub
Parent 4ea956e684
révision ee95d39a40
7 fichiers modifiés avec 56 ajouts et 55 suppressions
+1 -1
Voir le fichier
@@ -494,7 +494,7 @@ TEST_CASE("Stress_printf_ComplexKernelMultStreamMultGpu") {
unsigned int print_limit = 4; // = 4 GB
uint32_t iterCount = 1;
int numOfGPUs = 0;
hipGetDeviceCount(&numOfGPUs);
HIP_CHECK(hipGetDeviceCount(&numOfGPUs));
if (numOfGPUs < 2) {
printf("Skipping test because numOfGPUs < 2\n");
return;