mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Pass EngineUsage to getEngine
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com> Related-To: NEO-5610
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
274d2ff4b4
commit
3f5b9df122
@ -88,7 +88,7 @@ struct BlitEnqueueTests : public ::testing::Test {
|
||||
capabilityTable.blitterOperationsSupported = true;
|
||||
|
||||
if (createBcsEngine) {
|
||||
auto &engine = device->getEngine(getChosenEngineType(device->getHardwareInfo()), true, false);
|
||||
auto &engine = device->getEngine(getChosenEngineType(device->getHardwareInfo()), EngineUsage::LowPriority);
|
||||
bcsOsContext.reset(OsContext::create(nullptr, 1, device->getDeviceBitfield(), EngineTypeUsage{aub_stream::ENGINE_BCS, EngineUsage::Regular}, PreemptionMode::Disabled, false));
|
||||
engine.osContext = bcsOsContext.get();
|
||||
engine.commandStreamReceiver->setupContext(*bcsOsContext);
|
||||
|
Reference in New Issue
Block a user