mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 20:13:04 +08:00
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:
committed by
Compute-Runtime-Automation
parent
fda9c7d0b1
commit
02848968be
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user