Fix root device direct submission initialization

Related-To: NEO-5007

Change-Id: I4bac1a0a5e92982535f197c17d375050b484f8a2
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2020-09-15 10:11:12 +02:00
committed by sys_ocldev
parent dcc5316d88
commit bf0ee40b69
3 changed files with 9 additions and 2 deletions

View File

@@ -106,8 +106,6 @@ void RootDevice::initializeRootCommandStreamReceiver() {
rootCommandStreamReceiver->setupContext(*osContext);
rootCommandStreamReceiver->initializeTagAllocation();
rootCommandStreamReceiver->createGlobalFenceAllocation();
bool ret = rootCommandStreamReceiver->initDirectSubmission(*this, *osContext);
UNRECOVERABLE_IF(!ret);
commandStreamReceivers.push_back(std::move(rootCommandStreamReceiver));
engines.emplace_back(commandStreamReceivers.back().get(), osContext);
}