mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 16:48:45 +08:00
refactor: move extensions support logic to compiler product helper
- cl_intel_subgroup_local_block_io - cl_intel_dot_accumulate - cl_intel_create_buffer_with_properties - cl_khr_subgroup_named_barrier - cl_intel_subgroup_extended_block_read Related-To: NEO-7800 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e2177f44f3
commit
483f9fe340
@@ -11,6 +11,7 @@
|
||||
#include "shared/source/helpers/compiler_product_helper_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_product_helper_before_xe_hp.inl"
|
||||
#include "shared/source/helpers/compiler_product_helper_before_xe_hpc.inl"
|
||||
#include "shared/source/helpers/compiler_product_helper_enable_subgroup_local_block_io.inl"
|
||||
|
||||
namespace NEO {
|
||||
template <>
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "shared/source/helpers/compiler_product_helper_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_product_helper_before_xe_hp.inl"
|
||||
#include "shared/source/helpers/compiler_product_helper_before_xe_hpc.inl"
|
||||
#include "shared/source/helpers/compiler_product_helper_enable_subgroup_local_block_io.inl"
|
||||
|
||||
namespace NEO {
|
||||
template <>
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "shared/source/helpers/compiler_product_helper_bdw_and_later.inl"
|
||||
#include "shared/source/helpers/compiler_product_helper_before_xe_hp.inl"
|
||||
#include "shared/source/helpers/compiler_product_helper_before_xe_hpc.inl"
|
||||
#include "shared/source/helpers/compiler_product_helper_enable_subgroup_local_block_io.inl"
|
||||
|
||||
namespace NEO {
|
||||
template <>
|
||||
|
||||
@@ -23,11 +23,6 @@ uint32_t GfxCoreHelperHw<Family>::getComputeUnitsUsedForScratch(const RootDevice
|
||||
return hwInfo->gtSystemInfo.MaxSubSlicesSupported * hwInfo->gtSystemInfo.MaxEuPerSubSlice * 8;
|
||||
}
|
||||
|
||||
template <>
|
||||
std::string GfxCoreHelperHw<Family>::getExtensions(const RootDeviceEnvironment &rootDeviceEnvironment) const {
|
||||
return "cl_intel_subgroup_local_block_io ";
|
||||
}
|
||||
|
||||
template <>
|
||||
int32_t GfxCoreHelperHw<Family>::getDefaultThreadArbitrationPolicy() const {
|
||||
return ThreadArbitrationPolicy::RoundRobinAfterDependency;
|
||||
|
||||
Reference in New Issue
Block a user