mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
refactor direct submission: Pass command stream receiver to ctor
Related-To: NEO-6643 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
79b8051eab
commit
b5b8762faf
@@ -103,11 +103,11 @@ class CommandQueueHw : public CommandQueue {
|
||||
}
|
||||
|
||||
gpgpuEngine->osContext->ensureContextInitialized();
|
||||
gpgpuEngine->commandStreamReceiver->initDirectSubmission(device->getDevice(), *gpgpuEngine->osContext);
|
||||
gpgpuEngine->commandStreamReceiver->initDirectSubmission();
|
||||
for (const EngineControl *engine : bcsEngines) {
|
||||
if (engine != nullptr) {
|
||||
engine->osContext->ensureContextInitialized();
|
||||
engine->commandStreamReceiver->initDirectSubmission(device->getDevice(), *engine->osContext);
|
||||
engine->commandStreamReceiver->initDirectSubmission();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user