mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
fix: Check if provided CCS number is correct
Check if `ZEX_NUMBER_OF_CCS` env variable provided by the user is correct. If it isn't then return false and print debug message. Related-To: NEO-15230, GSD-11251 Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b4983f234d
commit
94be8023dc
@@ -37,8 +37,8 @@ class ExecutionEnvironment : public ReferenceTrackedObject<ExecutionEnvironment>
|
||||
virtual void prepareRootDeviceEnvironments(uint32_t numRootDevices);
|
||||
void prepareRootDeviceEnvironment(const uint32_t rootDeviceIndexForReInit);
|
||||
void parseAffinityMask();
|
||||
void adjustCcsCount();
|
||||
void adjustCcsCount(const uint32_t rootDeviceIndex) const;
|
||||
bool adjustCcsCount();
|
||||
bool adjustCcsCount(const uint32_t rootDeviceIndex) const;
|
||||
void sortNeoDevices();
|
||||
void setDeviceHierarchyMode(const GfxCoreHelper &gfxCoreHelper);
|
||||
void setDeviceHierarchyMode(const DeviceHierarchyMode deviceHierarchyMode) {
|
||||
@@ -47,7 +47,7 @@ class ExecutionEnvironment : public ReferenceTrackedObject<ExecutionEnvironment>
|
||||
DeviceHierarchyMode getDeviceHierarchyMode() const { return deviceHierarchyMode; }
|
||||
void adjustRootDeviceEnvironments();
|
||||
void prepareForCleanup() const;
|
||||
void configureCcsMode();
|
||||
MOCKABLE_VIRTUAL void configureCcsMode();
|
||||
void setDebuggingMode(DebuggingMode debuggingMode) {
|
||||
debuggingEnabledMode = debuggingMode;
|
||||
}
|
||||
@@ -97,7 +97,7 @@ class ExecutionEnvironment : public ReferenceTrackedObject<ExecutionEnvironment>
|
||||
|
||||
protected:
|
||||
static bool comparePciIdBusNumber(std::unique_ptr<RootDeviceEnvironment> &rootDeviceEnvironment1, std::unique_ptr<RootDeviceEnvironment> &rootDeviceEnvironment2);
|
||||
void parseCcsCountLimitations();
|
||||
bool parseCcsCountLimitations();
|
||||
void adjustCcsCountImpl(RootDeviceEnvironment *rootDeviceEnvironment) const;
|
||||
void configureNeoEnvironment();
|
||||
void restoreCcsMode();
|
||||
|
||||
Reference in New Issue
Block a user