feature: Add product helper for shared system USM enabling

Related-To: NEO-16531

Signed-off-by: John Falkowski <john.falkowski@intel.com>
This commit is contained in:
John Falkowski
2025-11-17 15:22:19 +00:00
committed by Compute-Runtime-Automation
parent fda9c7d0b1
commit 02848968be
19 changed files with 126 additions and 13 deletions

View File

@@ -755,7 +755,7 @@ Debugger *Device::getDebugger() const {
}
bool Device::areSharedSystemAllocationsAllowed() const {
if ((debugManager.flags.EnableRecoverablePageFaults.get() == 0) || (debugManager.flags.EnableSharedSystemUsmSupport.get() != 1)) {
if ((debugManager.flags.EnableRecoverablePageFaults.get() == 0) || (debugManager.flags.EnableSharedSystemUsmSupport.get() == 0)) {
return false;
}
uint64_t mask = (UnifiedSharedMemoryFlags::access | UnifiedSharedMemoryFlags::atomicAccess | UnifiedSharedMemoryFlags::concurrentAccess | UnifiedSharedMemoryFlags::concurrentAtomicAccess);