Skip to content

Commit 3b3d402

Browse files
Revert "Limit number of CCS engines on PVC"
This reverts commit 8f8370b. Signed-off-by: Mateusz Jablonski <[email protected]>
1 parent ed0c361 commit 3b3d402

File tree

8 files changed

+0
-66
lines changed

8 files changed

+0
-66
lines changed

shared/source/execution_environment/execution_environment.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff 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

shared/source/execution_environment/execution_environment.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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();

shared/source/os_interface/device_factory.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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;

shared/source/os_interface/hw_info_config.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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;

shared/source/os_interface/hw_info_config.inl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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

shared/source/xe_hpc_core/pvc/os_agnostic_hw_info_config_pvc.inl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,4 @@ bool HwInfoConfigHw<gfxProduct>::isComputeDispatchAllWalkerEnableInCfeStateRequi
193193
template <>
194194
bool 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
}

shared/test/unit_test/xe_hpc_core/pvc/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

shared/test/unit_test/xe_hpc_core/pvc/device_tests_pvc.cpp

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

0 commit comments

Comments
 (0)