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() {
199
199
200
200
rootDeviceEnvironments.swap (filteredEnvironments);
201
201
}
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
-
212
202
} // namespace NEO
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ class ExecutionEnvironment : public ReferenceTrackedObject<ExecutionEnvironment>
27
27
virtual void prepareRootDeviceEnvironments (uint32_t numRootDevices);
28
28
void prepareRootDeviceEnvironment (const uint32_t rootDeviceIndexForReInit);
29
29
void parseAffinityMask ();
30
- void adjustCcsCount () const ;
31
30
void sortNeoDevices ();
32
31
void sortNeoDevicesDRM ();
33
32
void sortNeoDevicesWDDM ();
Original file line number Diff line number Diff line change @@ -99,7 +99,6 @@ bool DeviceFactory::prepareDeviceEnvironmentsForProductFamilyOverride(ExecutionE
99
99
}
100
100
101
101
executionEnvironment.parseAffinityMask ();
102
- executionEnvironment.adjustCcsCount ();
103
102
executionEnvironment.calculateMaxOsContextCount ();
104
103
return true ;
105
104
}
@@ -159,7 +158,6 @@ bool DeviceFactory::prepareDeviceEnvironments(ExecutionEnvironment &executionEnv
159
158
160
159
executionEnvironment.sortNeoDevices ();
161
160
executionEnvironment.parseAffinityMask ();
162
- executionEnvironment.adjustCcsCount ();
163
161
executionEnvironment.calculateMaxOsContextCount ();
164
162
165
163
return true ;
Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ class HwInfoConfig {
132
132
virtual bool isAssignEngineRoundRobinSupported () const = 0;
133
133
virtual uint32_t getL1CachePolicy () const = 0;
134
134
virtual bool isEvictionWhenNecessaryFlagSupported () const = 0;
135
- virtual void adjustNumberOfCcs (HardwareInfo &hwInfo) const = 0;
136
135
137
136
MOCKABLE_VIRTUAL ~HwInfoConfig () = default ;
138
137
@@ -235,7 +234,6 @@ class HwInfoConfigHw : public HwInfoConfig {
235
234
bool isAssignEngineRoundRobinSupported () const override ;
236
235
uint32_t getL1CachePolicy () const override ;
237
236
bool isEvictionWhenNecessaryFlagSupported () const override ;
238
- void adjustNumberOfCcs (HardwareInfo &hwInfo) const override ;
239
237
240
238
protected:
241
239
HwInfoConfigHw () = default ;
Original file line number Diff line number Diff line change @@ -480,6 +480,4 @@ uint32_t HwInfoConfigHw<gfxProduct>::getL1CachePolicy() const {
480
480
return L1CachePolicyHelper<gfxProduct>::getL1CachePolicy ();
481
481
}
482
482
483
- template <PRODUCT_FAMILY gfxProduct>
484
- void HwInfoConfigHw<gfxProduct>::adjustNumberOfCcs(HardwareInfo &hwInfo) const {}
485
483
} // namespace NEO
Original file line number Diff line number Diff line change @@ -193,9 +193,4 @@ bool HwInfoConfigHw<gfxProduct>::isComputeDispatchAllWalkerEnableInCfeStateRequi
193
193
template <>
194
194
bool HwInfoConfigHw<gfxProduct>::isIpSamplingSupported(const HardwareInfo &hwInfo) const {
195
195
return PVC::isXt (hwInfo);
196
- }
197
-
198
- template <>
199
- void HwInfoConfigHw<gfxProduct>::adjustNumberOfCcs(HardwareInfo &hwInfo) const {
200
- hwInfo.gtSystemInfo .CCSInfo .NumberOfCCSEnabled = 1 ;
201
196
}
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ if(TESTS_PVC)
8
8
set (NEO_SHARED_TESTS_PVC
9
9
${CMAKE_CURRENT_SOURCE_DIR} /CMakeLists.txt
10
10
${CMAKE_CURRENT_SOURCE_DIR} /device_binary_format_ar_tests_pvc.cpp
11
- ${CMAKE_CURRENT_SOURCE_DIR} /device_tests_pvc.cpp
12
11
${CMAKE_CURRENT_SOURCE_DIR} /dispatch_walker_tests_pvc.cpp
13
12
${CMAKE_CURRENT_SOURCE_DIR} /hw_info_tests_pvc.cpp
14
13
${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