SWDEV-415115 - Fix memory commit in SVM on large bar systems

Skip memory commit for linux only.

Change-Id: I6304607f7c5516c76e59afa6da57de5b088f6a8c


[ROCm/clr commit: 9bd592e2ff]
Этот коммит содержится в:
German
2023-08-18 09:58:29 -04:00
коммит произвёл Rahul Garg
родитель 262839abea
Коммит 6a7f06fd9b
+1 -1
Просмотреть файл
@@ -288,7 +288,7 @@ bool Memory::create(void* initFrom, bool sysMemAlloc, bool skipAlloc, bool force
}
const std::vector<Device*>& devices = context_().devices();
if (devices.size() == 1 && devices[0]->info().largeBar_) {
if (IS_LINUX && (devices.size() == 1) && devices[0]->info().largeBar_) {
largeBarSystem_ = 1;
}