SWDEV-390597 - NoGpuTst test of Catch2 fails with docker
Change-Id: Ibf65e0ec57d47357e0afd119200622e223850b1e
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user