SWDEV-381402 - convert host_device to host_context of type amd::Context*

Change-Id: Ic1cb9a3fa64e16699fad7e9ec6679f1d34b14bef
Этот коммит содержится в:
Ioannis Assiouras
2023-02-16 01:27:08 +00:00
родитель 193c5e387e
Коммит 8b87ccb8cc
5 изменённых файлов: 9 добавлений и 9 удалений
+1 -1
Просмотреть файл
@@ -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;
}