mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Update interface for memory prefetch
Change-Id: I1dfbbd93b97dae100de489319dcfd7d19fe1fc65 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
42bf1d7e61
commit
3ce0450a9c
@@ -233,7 +233,7 @@ struct EncodeMiFlushDW {
|
||||
|
||||
template <typename GfxFamily>
|
||||
struct EncodeMemoryPrefetch {
|
||||
static void programMemoryPrefetch(LinearStream &commandStream, uint64_t gpuVa, uint32_t size);
|
||||
static void programMemoryPrefetch(LinearStream &commandStream, const GraphicsAllocation &graphicsAllocation, uint32_t size);
|
||||
static size_t getSizeForMemoryPrefetch();
|
||||
};
|
||||
} // namespace NEO
|
||||
|
||||
@@ -412,7 +412,7 @@ size_t EncodeMiFlushDW<GfxFamily>::getMiFlushDwCmdSizeForDataWrite() {
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
void EncodeMemoryPrefetch<GfxFamily>::programMemoryPrefetch(LinearStream &commandStream, uint64_t gpuVa, uint32_t size) {}
|
||||
void EncodeMemoryPrefetch<GfxFamily>::programMemoryPrefetch(LinearStream &commandStream, const GraphicsAllocation &graphicsAllocation, uint32_t size) {}
|
||||
|
||||
template <typename GfxFamily>
|
||||
size_t EncodeMemoryPrefetch<GfxFamily>::getSizeForMemoryPrefetch() { return 0; }
|
||||
|
||||
Reference in New Issue
Block a user