feature: add support for HP copy engine context

- add support for contect group with HP copy engine
- choose HP copy engine when available

Related-To: NEO-11983

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2024-07-18 14:47:32 +00:00
committed by Compute-Runtime-Automation
parent ce6e7f63af
commit 3fbcbcaef2
13 changed files with 456 additions and 46 deletions

View File

@@ -45,6 +45,7 @@ class MockCommandQueue : public CommandQueue {
using CommandQueue::migrateMultiGraphicsAllocationsIfRequired;
using CommandQueue::obtainNewTimestampPacketNodes;
using CommandQueue::overrideEngine;
using CommandQueue::priority;
using CommandQueue::queueCapabilities;
using CommandQueue::queueFamilyIndex;
using CommandQueue::queueFamilySelected;
@@ -69,7 +70,7 @@ class MockCommandQueue : public CommandQueue {
size_t countBcsEngines() const {
return std::count_if(bcsEngines.begin(), bcsEngines.end(), [](const EngineControl *engine) {
return engine != nullptr;
return engine != nullptr && engine->getEngineUsage() == EngineUsage::regular;
});
}