mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
feature: Complete madvise for System Allocator
Related-To: NEO-13715 Provides implmentation of getAtomicAccessAttribute using system allocator. Completes the implementation of the madvise feature using the new IOCTLs in xe_drm header. Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
95130b7256
commit
cf21cbc910
@@ -294,6 +294,7 @@ class SVMAllocsManager {
|
||||
MOCKABLE_VIRTUAL void prefetchMemory(Device &device, CommandStreamReceiver &commandStreamReceiver, const void *ptr, const size_t size);
|
||||
void prefetchSVMAllocs(Device &device, CommandStreamReceiver &commandStreamReceiver);
|
||||
void sharedSystemAtomicAccess(Device &device, AtomicAccessMode mode, const void *ptr, const size_t size);
|
||||
MOCKABLE_VIRTUAL AtomicAccessMode getSharedSystemAtomicAccess(Device &device, const void *ptr, const size_t size);
|
||||
std::unique_lock<std::mutex> obtainOwnership();
|
||||
|
||||
std::map<CommandStreamReceiver *, InternalAllocationsTracker> indirectAllocationsResidency;
|
||||
|
||||
Reference in New Issue
Block a user