SWDEV-381402 - convert host_device to host_context of type amd::Context*
Change-Id: Ic1cb9a3fa64e16699fad7e9ec6679f1d34b14bef
Этот коммит содержится в:
@@ -602,7 +602,7 @@ hipError_t hipSetDeviceFlags ( unsigned int flags ) {
|
||||
switch (scheduleFlag) {
|
||||
case hipDeviceScheduleAuto:
|
||||
// Current behavior is different from the spec, due to MT usage in runtime
|
||||
if (hip::host_device->devices().size() >= std::thread::hardware_concurrency()) {
|
||||
if (hip::host_context->devices().size() >= std::thread::hardware_concurrency()) {
|
||||
device->SetActiveWait(false);
|
||||
break;
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user