File tree Expand file tree Collapse file tree 8 files changed +0
-66
lines changed
test/unit_test/xe_hpc_core/pvc Expand file tree Collapse file tree 8 files changed +0
-66
lines changed Original file line number Diff line number Diff line change @@ -199,14 +199,4 @@ void ExecutionEnvironment::parseAffinityMask() {
199199
200200 rootDeviceEnvironments.swap (filteredEnvironments);
201201}
202-
203- void ExecutionEnvironment::adjustCcsCount () const {
204- for (auto &rootDeviceEnvironment : rootDeviceEnvironments) {
205- UNRECOVERABLE_IF (!rootDeviceEnvironment);
206- auto hwInfo = rootDeviceEnvironment->getMutableHardwareInfo ();
207- auto hwInfoConfig = HwInfoConfig::get (hwInfo->platform .eProductFamily );
208- hwInfoConfig->adjustNumberOfCcs (*hwInfo);
209- }
210- }
211-
212202} // namespace NEO
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ class ExecutionEnvironment : public ReferenceTrackedObject<ExecutionEnvironment>
2727 virtual void prepareRootDeviceEnvironments (uint32_t numRootDevices);
2828 void prepareRootDeviceEnvironment (const uint32_t rootDeviceIndexForReInit);
2929 void parseAffinityMask ();
30- void adjustCcsCount () const ;
3130 void sortNeoDevices ();
3231 void sortNeoDevicesDRM ();
3332 void sortNeoDevicesWDDM ();
Original file line number Diff line number Diff line change @@ -99,7 +99,6 @@ bool DeviceFactory::prepareDeviceEnvironmentsForProductFamilyOverride(ExecutionE
9999 }
100100
101101 executionEnvironment.parseAffinityMask ();
102- executionEnvironment.adjustCcsCount ();
103102 executionEnvironment.calculateMaxOsContextCount ();
104103 return true ;
105104}
@@ -159,7 +158,6 @@ bool DeviceFactory::prepareDeviceEnvironments(ExecutionEnvironment &executionEnv
159158
160159 executionEnvironment.sortNeoDevices ();
161160 executionEnvironment.parseAffinityMask ();
162- executionEnvironment.adjustCcsCount ();
163161 executionEnvironment.calculateMaxOsContextCount ();
164162
165163 return true ;
Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ class HwInfoConfig {
132132 virtual bool isAssignEngineRoundRobinSupported () const = 0;
133133 virtual uint32_t getL1CachePolicy () const = 0;
134134 virtual bool isEvictionWhenNecessaryFlagSupported () const = 0;
135- virtual void adjustNumberOfCcs (HardwareInfo &hwInfo) const = 0;
136135
137136 MOCKABLE_VIRTUAL ~HwInfoConfig () = default ;
138137
@@ -235,7 +234,6 @@ class HwInfoConfigHw : public HwInfoConfig {
235234 bool isAssignEngineRoundRobinSupported () const override ;
236235 uint32_t getL1CachePolicy () const override ;
237236 bool isEvictionWhenNecessaryFlagSupported () const override ;
238- void adjustNumberOfCcs (HardwareInfo &hwInfo) const override ;
239237
240238 protected:
241239 HwInfoConfigHw () = default ;
Original file line number Diff line number Diff line change @@ -480,6 +480,4 @@ uint32_t HwInfoConfigHw<gfxProduct>::getL1CachePolicy() const {
480480 return L1CachePolicyHelper<gfxProduct>::getL1CachePolicy ();
481481}
482482
483- template <PRODUCT_FAMILY gfxProduct>
484- void HwInfoConfigHw<gfxProduct>::adjustNumberOfCcs(HardwareInfo &hwInfo) const {}
485483} // namespace NEO
Original file line number Diff line number Diff line change @@ -193,9 +193,4 @@ bool HwInfoConfigHw<gfxProduct>::isComputeDispatchAllWalkerEnableInCfeStateRequi
193193template <>
194194bool HwInfoConfigHw<gfxProduct>::isIpSamplingSupported(const HardwareInfo &hwInfo) const {
195195 return PVC::isXt (hwInfo);
196- }
197-
198- template <>
199- void HwInfoConfigHw<gfxProduct>::adjustNumberOfCcs(HardwareInfo &hwInfo) const {
200- hwInfo.gtSystemInfo .CCSInfo .NumberOfCCSEnabled = 1 ;
201196}
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ if(TESTS_PVC)
88 set (NEO_SHARED_TESTS_PVC
99 ${CMAKE_CURRENT_SOURCE_DIR} /CMakeLists.txt
1010 ${CMAKE_CURRENT_SOURCE_DIR} /device_binary_format_ar_tests_pvc.cpp
11- ${CMAKE_CURRENT_SOURCE_DIR} /device_tests_pvc.cpp
1211 ${CMAKE_CURRENT_SOURCE_DIR} /dispatch_walker_tests_pvc.cpp
1312 ${CMAKE_CURRENT_SOURCE_DIR} /hw_info_tests_pvc.cpp
1413 ${CMAKE_CURRENT_SOURCE_DIR} /product_config_helper_tests_pvc.cpp
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments