Fix osContext initialization for L0 immediate command lists

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
Maciej Dziuban
2021-05-17 12:19:46 +00:00
committed by Compute-Runtime-Automation
parent 9c5dee54dc
commit f5b253207d
4 changed files with 53 additions and 1 deletions

View File

@@ -129,7 +129,6 @@ ze_result_t DeviceImp::createCommandQueue(const ze_command_queue_desc_t *desc,
bool isCopyOnly = hwHelper.isCopyOnlyEngineType(static_cast<NEO::EngineGroupType>(engineGroupIndex));
*commandQueue = CommandQueue::create(platform.eProductFamily, this, csr, desc, isCopyOnly, false, returnValue);
csr->getOsContext().ensureContextInitialized();
return returnValue;
}