SWDEV-390597 - NoGpuTst test of Catch2 fails with docker
Change-Id: Ibf65e0ec57d47357e0afd119200622e223850b1e
Этот коммит содержится в:
коммит произвёл
Julia Jiang
родитель
d9955b6707
Коммит
a4cccd3b0e
@@ -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);
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user