mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Remove redundant initialization of aub center
Change-Id: I4e6a478f8bf5368fefddd40286786592e42fbcc8 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
6f3a0e0e7d
commit
dff990659d
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user