Skip to content

Commit cfc673b

Browse files
Add compilerHwInfoConfig
Signed-off-by: Kamil Kopryk <[email protected]> Related-To: NEO-6237
1 parent 0f7378f commit cfc673b

28 files changed

+152
-77
lines changed

opencl/test/unit_test/helpers/hw_helper_tests.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,19 +1015,6 @@ HWTEST2_F(HwHelperTest, givenDefaultHwHelperHwWhenGettingIsBlitCopyRequiredForLo
10151015
EXPECT_FALSE(helper.isBlitCopyRequiredForLocalMemory(*defaultHwInfo, graphicsAllocation));
10161016
}
10171017

1018-
HWTEST_F(HwHelperTest, whenIsMidThreadPreemptionSupportedIsCalledThenCorrectResultIsReturned) {
1019-
auto hwInfo = *defaultHwInfo;
1020-
const auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily);
1021-
1022-
hwInfo.featureTable.ftrGpGpuMidThreadLevelPreempt = true;
1023-
auto midThreadPreemptionSupported = hwHelper.isMidThreadPreemptionSupported(hwInfo);
1024-
EXPECT_TRUE(midThreadPreemptionSupported);
1025-
1026-
hwInfo.featureTable.ftrGpGpuMidThreadLevelPreempt = false;
1027-
midThreadPreemptionSupported = hwHelper.isMidThreadPreemptionSupported(hwInfo);
1028-
EXPECT_FALSE(midThreadPreemptionSupported);
1029-
}
1030-
10311018
HWCMDTEST_F(IGFX_GEN8_CORE, HwHelperTest, WhenIsFusedEuDispatchEnabledIsCalledThenFalseIsReturned) {
10321019
if (hardwareInfo.platform.eRenderCoreFamily == IGFX_GEN12LP_CORE) {
10331020
GTEST_SKIP();

opencl/test/unit_test/offline_compiler/mock/mock_offline_compiler.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class MockOfflineCompiler : public OfflineCompiler {
3131
using OfflineCompiler::internalOptions;
3232
using OfflineCompiler::irBinary;
3333
using OfflineCompiler::irBinarySize;
34-
using OfflineCompiler::isMidThreadPreemptionSupported;
3534
using OfflineCompiler::isSpirV;
3635
using OfflineCompiler::options;
3736
using OfflineCompiler::outputDirectory;

opencl/test/unit_test/offline_compiler/offline_compiler_tests.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,20 +1036,6 @@ TEST(OfflineCompilerTest, givenDefaultOfflineCompilerObjectWhenNoOptionsAreChang
10361036
EXPECT_FALSE(mockOfflineCompiler->inputFileSpirV);
10371037
}
10381038

1039-
TEST(OfflineCompilerTest, whenIsMidThreadPreemptionSupportedIsCalledThenCorrectResultIsReturned) {
1040-
MockOfflineCompiler offlineCompiler;
1041-
1042-
if (!hardwarePrefix[IGFX_SKYLAKE]) {
1043-
GTEST_SKIP();
1044-
}
1045-
offlineCompiler.getHardwareInfo("skl");
1046-
offlineCompiler.hwInfo.featureTable.ftrGpGpuMidThreadLevelPreempt = false;
1047-
EXPECT_FALSE(offlineCompiler.isMidThreadPreemptionSupported(offlineCompiler.hwInfo));
1048-
1049-
offlineCompiler.hwInfo.featureTable.ftrGpGpuMidThreadLevelPreempt = true;
1050-
EXPECT_TRUE(offlineCompiler.isMidThreadPreemptionSupported(offlineCompiler.hwInfo));
1051-
}
1052-
10531039
TEST(OfflineCompilerTest, givenIntermediateRepresentationInputWhenBuildSourceCodeIsCalledThenProperTranslationContextIsUsed) {
10541040
MockOfflineCompiler mockOfflineCompiler;
10551041
std::vector<std::string> argv = {

shared/offline_compiler/source/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ set(CLOC_LIB_SRCS_LIB
2727
${NEO_SHARED_DIRECTORY}/dll/devices${BRANCH_DIR_SUFFIX}devices_additional.inl
2828
${NEO_SHARED_DIRECTORY}/dll/devices/devices_base.inl
2929
${NEO_SHARED_DIRECTORY}/helpers/abort.cpp
30+
${NEO_SHARED_DIRECTORY}/helpers/compiler_hw_info_config.h
31+
${NEO_SHARED_DIRECTORY}/helpers/compiler_hw_info_config.cpp
32+
${NEO_SHARED_DIRECTORY}/helpers/compiler_hw_info_config_bdw_and_later.inl
3033
${NEO_SHARED_DIRECTORY}/helpers/compiler_options_parser.cpp
3134
${NEO_SHARED_DIRECTORY}/helpers/compiler_options_parser.h
3235
${NEO_SHARED_DIRECTORY}/helpers/debug_helpers.cpp

shared/offline_compiler/source/extra_settings.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,4 @@ void OfflineCompiler::resolveExtraSettings() {
1717
}
1818
}
1919

20-
bool OfflineCompiler::isMidThreadPreemptionSupported(const HardwareInfo &hwInfo) {
21-
return hwInfo.featureTable.ftrGpGpuMidThreadLevelPreempt;
22-
}
23-
2420
} // namespace NEO

shared/offline_compiler/source/offline_compiler.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "shared/source/device_binary_format/device_binary_formats.h"
1515
#include "shared/source/device_binary_format/elf/elf_encoder.h"
1616
#include "shared/source/device_binary_format/elf/ocl_elf.h"
17+
#include "shared/source/helpers/compiler_hw_info_config.h"
1718
#include "shared/source/helpers/compiler_options_parser.h"
1819
#include "shared/source/helpers/debug_helpers.h"
1920
#include "shared/source/helpers/file_io.h"
@@ -609,7 +610,10 @@ int OfflineCompiler::initialize(size_t numArgs, const std::vector<std::string> &
609610
igcFeWa.get()->SetFtrGTX(hwInfo.featureTable.ftrGTX);
610611
igcFeWa.get()->SetFtr5Slice(hwInfo.featureTable.ftr5Slice);
611612

612-
igcFeWa.get()->SetFtrGpGpuMidThreadLevelPreempt(isMidThreadPreemptionSupported(hwInfo));
613+
auto compilerHwInfoConfig = CompilerHwInfoConfig::get(hwInfo.platform.eProductFamily);
614+
if (compilerHwInfoConfig) {
615+
igcFeWa.get()->SetFtrGpGpuMidThreadLevelPreempt(compilerHwInfoConfig->isMidThreadPreemptionSupported(hwInfo));
616+
}
613617
igcFeWa.get()->SetFtrIoMmuPageFaulting(hwInfo.featureTable.ftrIoMmuPageFaulting);
614618
igcFeWa.get()->SetFtrWddm2Svm(hwInfo.featureTable.ftrWddm2Svm);
615619
igcFeWa.get()->SetFtrPooledEuEnabled(hwInfo.featureTable.ftrPooledEuEnabled);

shared/offline_compiler/source/offline_compiler.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ class OfflineCompiler {
9696
int parseCommandLine(size_t numArgs, const std::vector<std::string> &allArgs);
9797
void setStatelessToStatefullBufferOffsetFlag();
9898
void resolveExtraSettings();
99-
bool isMidThreadPreemptionSupported(const HardwareInfo &hwInfo);
10099
void parseDebugSettings();
101100
void storeBinary(char *&pDst, size_t &dstSize, const void *pSrc, const size_t srcSize);
102101
MOCKABLE_VIRTUAL int buildSourceCode();

shared/source/compiler_interface/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ set(NEO_CORE_COMPILER_INTERFACE
1313
${CMAKE_CURRENT_SOURCE_DIR}/compiler_interface.inl
1414
${CMAKE_CURRENT_SOURCE_DIR}/create_main.cpp
1515
${CMAKE_CURRENT_SOURCE_DIR}/default_cache_config.h
16-
${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}compiler_extra_settings.cpp
1716
${CMAKE_CURRENT_SOURCE_DIR}/intermediate_representations.h
1817
${CMAKE_CURRENT_SOURCE_DIR}/linker.h
1918
${CMAKE_CURRENT_SOURCE_DIR}/linker.inl

shared/source/compiler_interface/compiler_extra_settings.cpp

Lines changed: 0 additions & 16 deletions
This file was deleted.

shared/source/compiler_interface/compiler_interface.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include "shared/source/compiler_interface/compiler_interface.inl"
1212
#include "shared/source/debug_settings/debug_settings_manager.h"
1313
#include "shared/source/device/device.h"
14+
#include "shared/source/helpers/compiler_hw_info_config.h"
1415
#include "shared/source/helpers/hw_info.h"
1516
#include "shared/source/os_interface/os_inc_base.h"
1617

@@ -452,7 +453,7 @@ IGC::IgcOclDeviceCtxTagOCL *CompilerInterface::getIgcDeviceCtx(const Device &dev
452453
igcFeWa.get()->SetFtrGTX(device.getHardwareInfo().featureTable.ftrGTX);
453454
igcFeWa.get()->SetFtr5Slice(device.getHardwareInfo().featureTable.ftr5Slice);
454455

455-
igcFeWa.get()->SetFtrGpGpuMidThreadLevelPreempt(isMidThreadPreemptionSupported(device.getHardwareInfo()));
456+
igcFeWa.get()->SetFtrGpGpuMidThreadLevelPreempt(CompilerHwInfoConfig::get(hwInfo->platform.eProductFamily)->isMidThreadPreemptionSupported(*hwInfo));
456457
igcFeWa.get()->SetFtrIoMmuPageFaulting(device.getHardwareInfo().featureTable.ftrIoMmuPageFaulting);
457458
igcFeWa.get()->SetFtrWddm2Svm(device.getHardwareInfo().featureTable.ftrWddm2Svm);
458459
igcFeWa.get()->SetFtrPooledEuEnabled(device.getHardwareInfo().featureTable.ftrPooledEuEnabled);

shared/source/compiler_interface/compiler_interface.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,5 @@ class CompilerInterface {
183183
bool requiresIgc = (IGC::CodeType::oclC != translationSrc) || ((IGC::CodeType::spirV != translationDst) && (IGC::CodeType::llvmBc != translationDst) && (IGC::CodeType::llvmLl != translationDst));
184184
return (isFclAvailable() || (false == requiresFcl)) && (isIgcAvailable() || (false == requiresIgc));
185185
}
186-
187-
bool isMidThreadPreemptionSupported(const HardwareInfo &hwInfo);
188186
};
189187
} // namespace NEO

shared/source/gen11/enable_gen11.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*/
77

88
#include "shared/source/gen11/hw_cmds.h"
9+
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
910
#include "shared/source/os_interface/hw_info_config.h"
1011

1112
#include "opencl/source/helpers/enable_product.inl"
@@ -14,12 +15,15 @@ namespace NEO {
1415

1516
#ifdef SUPPORT_ICLLP
1617
static EnableGfxProductHw<IGFX_ICELAKE_LP> enableGfxProductHwICLLP;
18+
static EnableCompilerHwInfoConfig<IGFX_ICELAKE_LP> enableCompilerHwInfoConfigICLLP;
1719
#endif
1820
#ifdef SUPPORT_LKF
1921
static EnableGfxProductHw<IGFX_LAKEFIELD> enableGfxProductHwLKF;
22+
static EnableCompilerHwInfoConfig<IGFX_LAKEFIELD> enableCompilerHwInfoConfigLKF;
2023
#endif
2124
#ifdef SUPPORT_EHL
2225
static EnableGfxProductHw<IGFX_ELKHARTLAKE> enableGfxProductHwEHL;
26+
static EnableCompilerHwInfoConfig<IGFX_ELKHARTLAKE> enableCompilerHwInfoConfigEHL;
2327
#endif
2428

2529
} // namespace NEO

shared/source/gen12lp/enable_gen12lp.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*/
77

88
#include "shared/source/gen12lp/hw_cmds.h"
9+
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
910
#include "shared/source/os_interface/hw_info_config.h"
1011

1112
#include "opencl/source/helpers/enable_product.inl"
@@ -14,17 +15,22 @@ namespace NEO {
1415

1516
#ifdef SUPPORT_TGLLP
1617
static EnableGfxProductHw<IGFX_TIGERLAKE_LP> enableGfxProductHwTGLLP;
18+
static EnableCompilerHwInfoConfig<IGFX_TIGERLAKE_LP> enableCompilerHwInfoConfigTGLLP;
1719
#endif
1820
#ifdef SUPPORT_DG1
1921
static EnableGfxProductHw<IGFX_DG1> enableGfxProductHwDG1;
22+
static EnableCompilerHwInfoConfig<IGFX_DG1> enableCompilerHwInfoConfigDG1;
2023
#endif
2124
#ifdef SUPPORT_RKL
2225
static EnableGfxProductHw<IGFX_ROCKETLAKE> enableGfxProductHwRKL;
26+
static EnableCompilerHwInfoConfig<IGFX_ROCKETLAKE> enableCompilerHwInfoConfigRKL;
2327
#endif
2428
#ifdef SUPPORT_ADLS
2529
static EnableGfxProductHw<IGFX_ALDERLAKE_S> enableGfxProductHwADLS;
30+
static EnableCompilerHwInfoConfig<IGFX_ALDERLAKE_S> enableCompilerHwInfoConfigADLS;
2631
#endif
2732
#ifdef SUPPORT_ADLP
2833
static EnableGfxProductHw<IGFX_ALDERLAKE_P> enableGfxProductHwADLP;
34+
static EnableCompilerHwInfoConfig<IGFX_ALDERLAKE_P> enableCompilerHwInfoConfigADLP;
2935
#endif
3036
} // namespace NEO

shared/source/gen8/enable_gen8.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*/
77

88
#include "shared/source/gen8/hw_cmds.h"
9+
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
910
#include "shared/source/os_interface/hw_info_config.h"
1011

1112
#include "opencl/source/helpers/enable_product.inl"
@@ -14,6 +15,7 @@ namespace NEO {
1415

1516
#ifdef SUPPORT_BDW
1617
static EnableGfxProductHw<IGFX_BROADWELL> enableGfxProductHwBDW;
18+
static EnableCompilerHwInfoConfig<IGFX_BROADWELL> enableCompilerHwInfoConfigBDW;
1719
#endif
1820

1921
} // namespace NEO

shared/source/gen9/enable_gen9.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
/*
2-
* Copyright (C) 2018-2020 Intel Corporation
2+
* Copyright (C) 2018-2021 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
66
*/
77

88
#include "shared/source/gen9/hw_cmds.h"
9+
#include "shared/source/helpers/compiler_hw_info_config_bdw_and_later.inl"
910
#include "shared/source/os_interface/hw_info_config.h"
1011

1112
#include "opencl/source/helpers/enable_product.inl"
@@ -14,18 +15,23 @@ namespace NEO {
1415

1516
#ifdef SUPPORT_BXT
1617
static EnableGfxProductHw<IGFX_BROXTON> enableGfxProductHwBXT;
18+
static EnableCompilerHwInfoConfig<IGFX_BROXTON> enableCompilerHwInfoConfigBXT;
1719
#endif
1820
#ifdef SUPPORT_CFL
1921
static EnableGfxProductHw<IGFX_COFFEELAKE> enableGfxProductHwCFL;
22+
static EnableCompilerHwInfoConfig<IGFX_COFFEELAKE> enableCompilerHwInfoConfigCFL;
2023
#endif
2124
#ifdef SUPPORT_GLK
2225
static EnableGfxProductHw<IGFX_GEMINILAKE> enableGfxProductHwGLK;
26+
static EnableCompilerHwInfoConfig<IGFX_GEMINILAKE> enableCompilerHwInfoConfigGLK;
2327
#endif
2428
#ifdef SUPPORT_KBL
2529
static EnableGfxProductHw<IGFX_KABYLAKE> enableGfxProductHwKBL;
30+
static EnableCompilerHwInfoConfig<IGFX_KABYLAKE> enableCompilerHwInfoConfigKBL;
2631
#endif
2732
#ifdef SUPPORT_SKL
2833
static EnableGfxProductHw<IGFX_SKYLAKE> enableGfxProductHwSKL;
34+
static EnableCompilerHwInfoConfig<IGFX_SKYLAKE> enableCompilerHwInfoConfigSKL;
2935
#endif
3036

3137
} // namespace NEO

shared/source/helpers/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ set(NEO_CORE_HELPERS
2727
${CMAKE_CURRENT_SOURCE_DIR}/cache_policy.cpp
2828
${CMAKE_CURRENT_SOURCE_DIR}/cache_policy.h
2929
${CMAKE_CURRENT_SOURCE_DIR}/common_types.h
30+
${CMAKE_CURRENT_SOURCE_DIR}/compiler_hw_info_config.h
31+
${CMAKE_CURRENT_SOURCE_DIR}/compiler_hw_info_config.cpp
32+
${CMAKE_CURRENT_SOURCE_DIR}/compiler_hw_info_config_bdw_and_later.inl
3033
${CMAKE_CURRENT_SOURCE_DIR}/compiler_options_parser.cpp
3134
${CMAKE_CURRENT_SOURCE_DIR}/compiler_options_parser.h
3235
${CMAKE_CURRENT_SOURCE_DIR}/completion_stamp.cpp
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*
2+
* Copyright (C) 2021 Intel Corporation
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*
6+
*/
7+
8+
#include "shared/source/helpers/compiler_hw_info_config.h"
9+
10+
namespace NEO {
11+
12+
CompilerHwInfoConfig *CompilerHwInfoConfigFactory[IGFX_MAX_PRODUCT] = {};
13+
14+
} // namespace NEO
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/*
2+
* Copyright (C) 2021 Intel Corporation
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*
6+
*/
7+
8+
#pragma once
9+
10+
#include "shared/source/helpers/hw_info.h"
11+
12+
#include "igfxfmid.h"
13+
14+
namespace NEO {
15+
16+
class CompilerHwInfoConfig;
17+
struct HardwareInfo;
18+
extern CompilerHwInfoConfig *CompilerHwInfoConfigFactory[IGFX_MAX_PRODUCT];
19+
20+
class CompilerHwInfoConfig {
21+
public:
22+
static CompilerHwInfoConfig *get(PRODUCT_FAMILY product) {
23+
return CompilerHwInfoConfigFactory[product];
24+
}
25+
26+
virtual bool isMidThreadPreemptionSupported(const HardwareInfo &hwInfo) const = 0;
27+
};
28+
29+
template <PRODUCT_FAMILY gfxProduct>
30+
class CompilerHwInfoConfigHw : public CompilerHwInfoConfig {
31+
public:
32+
static CompilerHwInfoConfig *get() {
33+
static CompilerHwInfoConfigHw<gfxProduct> instance;
34+
return &instance;
35+
}
36+
37+
bool isMidThreadPreemptionSupported(const HardwareInfo &hwInfo) const override;
38+
39+
protected:
40+
CompilerHwInfoConfigHw() = default;
41+
};
42+
43+
template <PRODUCT_FAMILY gfxProduct>
44+
struct EnableCompilerHwInfoConfig {
45+
typedef typename HwMapper<gfxProduct>::GfxProduct GfxProduct;
46+
47+
EnableCompilerHwInfoConfig() {
48+
CompilerHwInfoConfig *pCompilerHwInfoConfig = CompilerHwInfoConfigHw<gfxProduct>::get();
49+
CompilerHwInfoConfigFactory[gfxProduct] = pCompilerHwInfoConfig;
50+
}
51+
};
52+
53+
} // namespace NEO
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
* Copyright (C) 2021 Intel Corporation
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*
6+
*/
7+
8+
#pragma once
9+
10+
#include "shared/source/helpers/compiler_hw_info_config.h"
11+
#include "shared/source/helpers/hw_info.h"
12+
13+
namespace NEO {
14+
template <PRODUCT_FAMILY gfxProduct>
15+
bool CompilerHwInfoConfigHw<gfxProduct>::isMidThreadPreemptionSupported(const HardwareInfo &hwInfo) const {
16+
return hwInfo.featureTable.ftrGpGpuMidThreadLevelPreempt;
17+
}
18+
19+
} // namespace NEO

shared/source/helpers/hw_helper.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ class HwHelper {
127127
virtual uint32_t getPlanarYuvMaxHeight() const = 0;
128128
virtual bool isBlitterForImagesSupported(const HardwareInfo &hwInfo) const = 0;
129129
virtual size_t getPreemptionAllocationAlignment() const = 0;
130-
virtual bool isMidThreadPreemptionSupported(const HardwareInfo &hwInfo) const = 0;
131130
virtual std::unique_ptr<TagAllocatorBase> createTimestampPacketAllocator(const std::vector<uint32_t> &rootDeviceIndices, MemoryManager *memoryManager,
132131
size_t initialTagCount, CommandStreamReceiverType csrType,
133132
DeviceBitfield deviceBitfield) const = 0;
@@ -360,8 +359,6 @@ class HwHelperHw : public HwHelper {
360359

361360
bool additionalPipeControlArgsRequired() const override;
362361

363-
bool isMidThreadPreemptionSupported(const HardwareInfo &hwInfo) const override;
364-
365362
bool isEngineTypeRemappingToHwSpecificRequired() const override;
366363

367364
bool isSipKernelAsHexadecimalArrayPreferred() const override;

shared/source/helpers/hw_helper_base.inl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -608,11 +608,6 @@ bool HwHelperHw<GfxFamily>::isEngineTypeRemappingToHwSpecificRequired() const {
608608
return false;
609609
}
610610

611-
template <typename GfxFamily>
612-
bool HwHelperHw<GfxFamily>::isMidThreadPreemptionSupported(const HardwareInfo &hwInfo) const {
613-
return static_cast<bool>(hwInfo.featureTable.ftrGpGpuMidThreadLevelPreempt);
614-
}
615-
616611
template <typename GfxFamily>
617612
bool HwHelperHw<GfxFamily>::isSipKernelAsHexadecimalArrayPreferred() const {
618613
return false;

0 commit comments

Comments
 (0)