2019-01-10 15:36:57 +01:00
|
|
|
/*
|
2020-02-06 15:10:59 +01:00
|
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
2019-01-10 15:36:57 +01:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
2020-08-26 22:36:51 +02:00
|
|
|
#include "shared/source/gen11/aub_mapper.h"
|
2020-02-23 22:44:01 +01:00
|
|
|
#include "shared/source/helpers/flat_batch_buffer_helper_hw.inl"
|
|
|
|
|
#include "shared/source/helpers/hw_helper_bdw_plus.inl"
|
2020-02-24 10:22:30 +01:00
|
|
|
|
2019-01-10 15:36:57 +01:00
|
|
|
namespace NEO {
|
|
|
|
|
typedef ICLFamily Family;
|
|
|
|
|
|
|
|
|
|
template <>
|
|
|
|
|
uint32_t HwHelperHw<Family>::getComputeUnitsUsedForScratch(const HardwareInfo *pHwInfo) const {
|
2019-05-08 16:00:24 +02:00
|
|
|
return pHwInfo->gtSystemInfo.MaxSubSlicesSupported * pHwInfo->gtSystemInfo.MaxEuPerSubSlice * 8;
|
2019-01-10 15:36:57 +01:00
|
|
|
}
|
|
|
|
|
|
2020-02-06 15:10:59 +01:00
|
|
|
template <>
|
|
|
|
|
std::string HwHelperHw<Family>::getExtensions() const {
|
|
|
|
|
return "cl_intel_subgroup_local_block_io ";
|
|
|
|
|
}
|
|
|
|
|
|
2020-08-03 20:39:06 +02:00
|
|
|
template <>
|
|
|
|
|
uint32_t HwHelperHw<Family>::getDefaultThreadArbitrationPolicy() const {
|
|
|
|
|
return ThreadArbitrationPolicy::RoundRobinAfterDependency;
|
|
|
|
|
}
|
|
|
|
|
|
2019-01-10 15:36:57 +01:00
|
|
|
template class HwHelperHw<Family>;
|
|
|
|
|
template class FlatBatchBufferHelperHw<Family>;
|
2020-02-17 12:45:24 +01:00
|
|
|
template struct MemorySynchronizationCommands<Family>;
|
2020-04-28 16:48:23 +02:00
|
|
|
template struct LriHelper<Family>;
|
2019-01-10 15:36:57 +01:00
|
|
|
} // namespace NEO
|