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:
Mateusz Jablonski
2022-04-19 14:44:06 +00:00
committed by Compute-Runtime-Automation
parent 79b8051eab
commit b5b8762faf
29 changed files with 234 additions and 308 deletions

View File

@@ -198,7 +198,7 @@ BlitOperationResult BlitHelper::blitMemoryToAllocationBanks(const Device &device
}
bcsEngine->osContext->ensureContextInitialized();
bcsEngine->commandStreamReceiver->initDirectSubmission(*pDeviceForBlit, *bcsEngine->osContext);
bcsEngine->commandStreamReceiver->initDirectSubmission();
BlitPropertiesContainer blitPropertiesContainer;
blitPropertiesContainer.push_back(
BlitProperties::constructPropertiesForReadWrite(BlitterConstants::BlitDirection::HostPtrToBuffer,