Remove redundant initialization of aub center

Change-Id: I4e6a478f8bf5368fefddd40286786592e42fbcc8
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2020-02-14 17:00:58 +01:00
committed by sys_ocldev
parent 6f3a0e0e7d
commit dff990659d

View File

@@ -177,12 +177,6 @@ bool Platform::initialize(size_t numDevices, uint32_t firstRootDeviceIndex) {
initSipKernel(sipType, *clDevices[0]);
}
CommandStreamReceiverType csrType = this->clDevices[0]->getDefaultEngine().commandStreamReceiver->getType();
if (csrType != CommandStreamReceiverType::CSR_HW) {
auto enableLocalMemory = HwHelper::get(hwInfo->platform.eRenderCoreFamily).getEnableLocalMemory(*hwInfo);
executionEnvironment.rootDeviceEnvironments[0]->initAubCenter(enableLocalMemory, "aubfile", csrType);
}
this->fillGlobalDispatchTable();
DEBUG_BREAK_IF(DebugManager.flags.CreateMultipleRootDevices.get() > 1 && !this->clDevices[0]->getDefaultEngine().commandStreamReceiver->peekTimestampPacketWriteEnabled());
state = StateInited;