Change argument type in EncodeMemoryPrefetch class

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2021-03-25 13:27:26 +00:00
committed by Compute-Runtime-Automation
parent 0dc73ad686
commit e36941b171
2 changed files with 2 additions and 2 deletions

View File

@@ -348,7 +348,7 @@ struct EncodeMiFlushDW {
template <typename GfxFamily>
struct EncodeMemoryPrefetch {
static void programMemoryPrefetch(LinearStream &commandStream, const GraphicsAllocation &graphicsAllocation, uint32_t size, size_t offset, const HardwareInfo &hwInfo);
static size_t getSizeForMemoryPrefetch(uint32_t size);
static size_t getSizeForMemoryPrefetch(size_t size);
};
template <typename GfxFamily>

View File

@@ -644,7 +644,7 @@ template <typename GfxFamily>
void EncodeMemoryPrefetch<GfxFamily>::programMemoryPrefetch(LinearStream &commandStream, const GraphicsAllocation &graphicsAllocation, uint32_t size, size_t offset, const HardwareInfo &hwInfo) {}
template <typename GfxFamily>
size_t EncodeMemoryPrefetch<GfxFamily>::getSizeForMemoryPrefetch(uint32_t size) { return 0; }
size_t EncodeMemoryPrefetch<GfxFamily>::getSizeForMemoryPrefetch(size_t size) { return 0u; }
template <typename Family>
void EncodeMiArbCheck<Family>::program(LinearStream &commandStream) {