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

Skip memory commit for linux only.

Change-Id: I6304607f7c5516c76e59afa6da57de5b088f6a8c
This commit is contained in:
German
2023-08-18 09:58:29 -04:00
committed by Rahul Garg
parent b4933f1d00
commit 9bd592e2ff
+1 -1
View File
@@ -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;
}