mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Revert "feature: Implement appendMemoryPrefetch for Shared System USM Allocat...
This reverts commit 97799b3faf.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
0d5baa2c30
commit
fa2e3adad3
@@ -20,13 +20,8 @@ class CommandStreamReceiver;
|
||||
class Device;
|
||||
class SVMAllocsManager;
|
||||
|
||||
struct Allocation {
|
||||
const void *ptr;
|
||||
const size_t size;
|
||||
};
|
||||
|
||||
struct PrefetchContext {
|
||||
std::vector<Allocation> allocations;
|
||||
std::vector<const void *> allocations;
|
||||
SpinLock lock;
|
||||
};
|
||||
|
||||
@@ -36,7 +31,7 @@ class PrefetchManager : public NonCopyableAndNonMovableClass {
|
||||
|
||||
virtual ~PrefetchManager() = default;
|
||||
|
||||
void insertAllocation(PrefetchContext &context, SVMAllocsManager &unifiedMemoryManager, Device &device, const void *usmPtr, const size_t size);
|
||||
void insertAllocation(PrefetchContext &context, const void *usmPtr, SvmAllocationData &allocData);
|
||||
|
||||
MOCKABLE_VIRTUAL void migrateAllocationsToGpu(PrefetchContext &context, SVMAllocsManager &unifiedMemoryManager, Device &device, CommandStreamReceiver &csr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user