mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
Add support for limiting number of CCS engines
This commit adds support for ZEX_NUMBER_OF_CCS flag which can be used for limiting number of CCS engines Format is as follows: ZEX_NUMBER_OF_CCS=RootDeviceIndex:NumberOfCCS;RootDeviceIndex:NumberOfCCS... i.e. setting Root Device Index 0 to 4 CCS, and Root Device Index 1 To 1 CCS ZEX_NUMBER_OF_CCS=0:4,1:1 Related-To: NEO-7195 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
787b71c7d0
commit
7b86c8da2e
@@ -132,6 +132,7 @@ class HwInfoConfig {
|
||||
virtual bool isAssignEngineRoundRobinSupported() const = 0;
|
||||
virtual uint32_t getL1CachePolicy() const = 0;
|
||||
virtual bool isEvictionWhenNecessaryFlagSupported() const = 0;
|
||||
virtual void adjustNumberOfCcs(HardwareInfo &hwInfo) const = 0;
|
||||
|
||||
MOCKABLE_VIRTUAL ~HwInfoConfig() = default;
|
||||
|
||||
@@ -234,6 +235,7 @@ class HwInfoConfigHw : public HwInfoConfig {
|
||||
bool isAssignEngineRoundRobinSupported() const override;
|
||||
uint32_t getL1CachePolicy() const override;
|
||||
bool isEvictionWhenNecessaryFlagSupported() const override;
|
||||
void adjustNumberOfCcs(HardwareInfo &hwInfo) const override;
|
||||
|
||||
protected:
|
||||
HwInfoConfigHw() = default;
|
||||
|
||||
Reference in New Issue
Block a user