mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
- move some files to core - remove unnecessary includes Related-To: NEO-4175 Change-Id: Ib33dff644452c7cfd6fda7e9bb4b68cd6eb3a61c Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
32 lines
1.7 KiB
C++
32 lines
1.7 KiB
C++
/*
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "core/command_stream/csr_definitions.h"
|
|
#include "core/command_stream/preemption.h"
|
|
#include "core/command_stream/preemption.inl"
|
|
#include "runtime/built_ins/built_ins.h"
|
|
|
|
#include <cstring>
|
|
|
|
namespace NEO {
|
|
|
|
typedef SKLFamily GfxFamily;
|
|
|
|
template void PreemptionHelper::programCmdStream<GfxFamily>(LinearStream &cmdStream, PreemptionMode newPreemptionMode,
|
|
PreemptionMode oldPreemptionMode, GraphicsAllocation *preemptionCsr);
|
|
|
|
template size_t PreemptionHelper::getRequiredPreambleSize<GfxFamily>(const Device &device);
|
|
template void PreemptionHelper::programCsrBaseAddress<GfxFamily>(LinearStream &preambleCmdStream, Device &device, const GraphicsAllocation *preemptionCsr);
|
|
template void PreemptionHelper::programStateSip<GfxFamily>(LinearStream &preambleCmdStream, Device &device);
|
|
template size_t PreemptionHelper::getRequiredStateSipCmdSize<GfxFamily>(const Device &device);
|
|
template size_t PreemptionHelper::getRequiredCmdStreamSize<GfxFamily>(PreemptionMode newPreemptionMode, PreemptionMode oldPreemptionMode);
|
|
template size_t PreemptionHelper::getPreemptionWaCsSize<GfxFamily>(const Device &device);
|
|
template void PreemptionHelper::applyPreemptionWaCmdsBegin<GfxFamily>(LinearStream *pCommandStream, const Device &device);
|
|
template void PreemptionHelper::applyPreemptionWaCmdsEnd<GfxFamily>(LinearStream *pCommandStream, const Device &device);
|
|
template void PreemptionHelper::programInterfaceDescriptorDataPreemption<GfxFamily>(INTERFACE_DESCRIPTOR_DATA<GfxFamily> *idd, PreemptionMode preemptionMode);
|
|
} // namespace NEO
|