feature: Support for ccs mode configuration via SysFs

Add support for configuring ccs mode for all applicable devices
before KMD is loaded.

Use ZEX_NUMBER_OF_CCS to configure ccs mode.

Format is as follows:

ZEX_NUMBER_OF_CCS=NumberOfCcs i,e Setting ZEX_NUMBER_OF_CCS
to 4 sets ccs mode to 4 for all devices for which configuration
is supported.

Related-To: NEO-10378

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
This commit is contained in:
Bellekallu Rajkiran
2024-03-15 13:14:45 +00:00
committed by Compute-Runtime-Automation
parent f496233462
commit 9736313d10
12 changed files with 600 additions and 11 deletions

View File

@@ -51,6 +51,7 @@ ExecutionEnvironment::~ExecutionEnvironment() {
}
rootDeviceEnvironments.clear();
mapOfSubDeviceIndices.clear();
this->restoreCcsMode();
}
bool ExecutionEnvironment::initializeMemoryManager() {