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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user