mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Release main copy engine from device and sub device
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4332563433
commit
e00a5e0a1e
@@ -355,7 +355,9 @@ CommandStreamReceiver &CommandQueue::selectCsrForHostPtrAllocation(bool split, C
|
||||
|
||||
void CommandQueue::releaseMainCopyEngine() {
|
||||
if (auto mainBcs = bcsEngines[0]; mainBcs != nullptr) {
|
||||
auto &selectorCopyEngine = device->getNearestGenericSubDevice(0)->getSelectorCopyEngine();
|
||||
auto &selectorCopyEngineSubDevice = device->getNearestGenericSubDevice(0)->getSelectorCopyEngine();
|
||||
EngineHelpers::releaseBcsEngineType(mainBcs->getEngineType(), selectorCopyEngineSubDevice);
|
||||
auto &selectorCopyEngine = device->getSelectorCopyEngine();
|
||||
EngineHelpers::releaseBcsEngineType(mainBcs->getEngineType(), selectorCopyEngine);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user