2019-01-10 22:36:57 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2019-05-16 15:52:28 +08:00
|
|
|
#include "runtime/aub/aub_helper_bdw_plus.inl"
|
2019-01-10 22:36:57 +08:00
|
|
|
#include "runtime/helpers/flat_batch_buffer_helper_hw.inl"
|
2019-05-16 15:52:28 +08:00
|
|
|
#include "runtime/helpers/hw_helper_bdw_plus.inl"
|
2019-01-10 22:36:57 +08:00
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
typedef ICLFamily Family;
|
|
|
|
|
|
|
|
template <>
|
|
|
|
uint32_t HwHelperHw<Family>::getComputeUnitsUsedForScratch(const HardwareInfo *pHwInfo) const {
|
2019-05-08 22:00:24 +08:00
|
|
|
return pHwInfo->gtSystemInfo.MaxSubSlicesSupported * pHwInfo->gtSystemInfo.MaxEuPerSubSlice * 8;
|
2019-01-10 22:36:57 +08:00
|
|
|
}
|
|
|
|
|
2019-05-20 17:19:27 +08:00
|
|
|
template <>
|
|
|
|
uint32_t HwHelperHw<Family>::getMetricsLibraryGenId() const {
|
|
|
|
return static_cast<uint32_t>(MetricsLibraryApi::ClientGen::Gen11);
|
|
|
|
}
|
|
|
|
|
2019-01-10 22:36:57 +08:00
|
|
|
template class AubHelperHw<Family>;
|
|
|
|
template class HwHelperHw<Family>;
|
|
|
|
template class FlatBatchBufferHelperHw<Family>;
|
|
|
|
template struct PipeControlHelper<Family>;
|
|
|
|
} // namespace NEO
|