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

Skip memory commit for linux only.

Change-Id: I6304607f7c5516c76e59afa6da57de5b088f6a8c


[ROCm/clr commit: 9bd592e2ff]
This commit is contained in:
German authored and Rahul Garg committed 2023-08-18 11:25:28 -04:00
1 parent 262839abea
commit 6a7f06fd9b
1 file changed
+1 -1
+1 -1
Vedi 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;
}