mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
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:
committed by
Compute-Runtime-Automation
parent
ce6e7f63af
commit
3fbcbcaef2
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user