mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Add support for ZE_IPC_MEMORY_FLAG_BIAS_UNCACHED
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
64eb82efac
commit
aa51c5ee76
@@ -42,6 +42,10 @@ void *DriverHandleImp::importFdHandle(ze_device_handle_t hDevice, ze_ipc_memory_
|
||||
allocData.allocationFlagsProperty.flags.locallyUncachedResource = 1;
|
||||
}
|
||||
|
||||
if (flags & ZE_IPC_MEMORY_FLAG_BIAS_UNCACHED) {
|
||||
allocData.allocationFlagsProperty.flags.locallyUncachedResource = 1;
|
||||
}
|
||||
|
||||
this->getSvmAllocsManager()->insertSVMAlloc(allocData);
|
||||
|
||||
if (pAlloc) {
|
||||
|
||||
Reference in New Issue
Block a user