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

Change-Id: Ic1cb9a3fa64e16699fad7e9ec6679f1d34b14bef


[ROCm/clr commit: 8b87ccb8cc]
Esse commit está contido em:
Ioannis Assiouras committed 2023-02-16 17:49:12 -05:00
1 pai 9c479ada12
commit 5007a5f15d
5 files changed
+9 -9

No files matched your search

+1 -1
Ver Arquivo
@@ -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;
}