mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 23:56:39 +08:00
Related-To: NEO-4338 Change-Id: Ic858a9324e5f892532d39c98a4029df9d2a64e46 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
29 lines
873 B
C++
29 lines
873 B
C++
/*
|
|
* Copyright (C) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/direct_submission/dispatchers/dispatcher.h"
|
|
|
|
namespace NEO {
|
|
|
|
template <typename GfxFamily>
|
|
class RenderDispatcher : public Dispatcher<GfxFamily> {
|
|
public:
|
|
static void dispatchPreemption(LinearStream &cmdBuffer);
|
|
static size_t getSizePreemption();
|
|
|
|
static void dispatchMonitorFence(LinearStream &cmdBuffer,
|
|
uint64_t gpuAddress,
|
|
uint64_t immediateData,
|
|
const HardwareInfo &hwInfo);
|
|
static size_t getSizeMonitorFence(const HardwareInfo &hwInfo);
|
|
|
|
static void dispatchCacheFlush(LinearStream &cmdBuffer, const HardwareInfo &hwInfo);
|
|
static size_t getSizeCacheFlush(const HardwareInfo &hwInfo);
|
|
};
|
|
} // namespace NEO
|