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

Skip memory commit for linux only.

Change-Id: I6304607f7c5516c76e59afa6da57de5b088f6a8c


[ROCm/clr commit: 9bd592e2ff]
Cette révision appartient à :
German a créé et Rahul Garg a révisé 2023-08-18 11:25:28 -04:00
1 Parent 262839abea
révision 6a7f06fd9b
1 fichier modifié
+1 -1
+1 -1
Voir le fichier
@@ -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;
}