mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 17:33:00 +08:00
Change-Id: I34eb993b562c77f56d8fbd51a02ee266c1f76678 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
41 lines
1.2 KiB
C++
41 lines
1.2 KiB
C++
/*
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/helpers/flat_batch_buffer_helper_hw.inl"
|
|
#include "shared/source/helpers/hw_helper_bdw_plus.inl"
|
|
|
|
#include "opencl/source/aub/aub_helper_bdw_plus.inl"
|
|
|
|
namespace NEO {
|
|
typedef SKLFamily Family;
|
|
|
|
template <>
|
|
SipKernelType HwHelperHw<Family>::getSipKernelType(bool debuggingActive) {
|
|
if (!debuggingActive) {
|
|
return SipKernelType::Csr;
|
|
}
|
|
return SipKernelType::DbgCsrLocal;
|
|
}
|
|
|
|
template <>
|
|
void MemorySynchronizationCommands<Family>::addPipeControlWA(LinearStream &commandStream, uint64_t gpuAddress, const HardwareInfo &hwInfo) {
|
|
auto pCmd = static_cast<Family::PIPE_CONTROL *>(commandStream.getSpace(sizeof(Family::PIPE_CONTROL)));
|
|
*pCmd = Family::cmdInitPipeControl;
|
|
pCmd->setCommandStreamerStallEnable(true);
|
|
}
|
|
|
|
template <>
|
|
uint32_t HwHelperHw<Family>::getMetricsLibraryGenId() const {
|
|
return static_cast<uint32_t>(MetricsLibraryApi::ClientGen::Gen9);
|
|
}
|
|
|
|
template class AubHelperHw<Family>;
|
|
template class HwHelperHw<Family>;
|
|
template class FlatBatchBufferHelperHw<Family>;
|
|
template struct MemorySynchronizationCommands<Family>;
|
|
} // namespace NEO
|