mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
feature: add L0 API querying priority levels - zeDeviceGetPriorityLevels()
Related-To: NEO-14572 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a423493a4a
commit
0d57dcfdf0
@@ -195,11 +195,11 @@ AILConfiguration *MockDevice::getAilConfigurationHelper() const {
|
||||
return Device::getAilConfigurationHelper();
|
||||
}
|
||||
|
||||
EngineControl *MockDevice::getSecondaryEngineCsr(EngineTypeUsage engineTypeUsage, bool allocateInterrupt) {
|
||||
EngineControl *MockDevice::getSecondaryEngineCsr(EngineTypeUsage engineTypeUsage, int priorityLevel, bool allocateInterrupt) {
|
||||
if (disableSecondaryEngines) {
|
||||
return nullptr;
|
||||
}
|
||||
return RootDevice::getSecondaryEngineCsr(engineTypeUsage, allocateInterrupt);
|
||||
return RootDevice::getSecondaryEngineCsr(engineTypeUsage, priorityLevel, allocateInterrupt);
|
||||
}
|
||||
|
||||
std::unique_ptr<CommandStreamReceiver> MockDevice::createCommandStreamReceiver() const {
|
||||
|
||||
@@ -180,7 +180,7 @@ class MockDevice : public RootDevice {
|
||||
return getGlobalMemorySizeReturn;
|
||||
}
|
||||
|
||||
EngineControl *getSecondaryEngineCsr(EngineTypeUsage engineTypeUsage, bool allocateInterrupt) override;
|
||||
EngineControl *getSecondaryEngineCsr(EngineTypeUsage engineTypeUsage, int priorityLevel, bool allocateInterrupt) override;
|
||||
|
||||
static ExecutionEnvironment *prepareExecutionEnvironment(const HardwareInfo *pHwInfo);
|
||||
static decltype(&createCommandStream) createCommandStreamReceiverFunc;
|
||||
|
||||
Reference in New Issue
Block a user