SWDEV-390597 - NoGpuTst test of Catch2 fails with docker

Change-Id: Ibf65e0ec57d47357e0afd119200622e223850b1e
This commit is contained in:
Julia Jiang
2023-06-21 18:33:35 -04:00
committed by Julia Jiang
szülő d9955b6707
commit a4cccd3b0e
+1 -1
Fájl megtekintése
@@ -558,7 +558,7 @@ hipError_t hipGetDeviceFlags ( unsigned int* flags ) {
}
hipError_t hipSetDevice ( int device ) {
HIP_INIT_API(hipSetDevice, device);
HIP_INIT_API_NO_RETURN(hipSetDevice, device);
if (static_cast<unsigned int>(device) < g_devices.size()) {
hip::setCurrentDevice(device);