Files
compute-runtime/runtime/aub/aub_center.cpp
Mrozek, Michal 7e397b0132 Revert "Pass number of devices obtained from platform to Aub Manager."
This reverts commit f30d2102fa2a33673b95a20f630cd592f2a4d9ac.

Change-Id: I1df03a9dd819075e9fac5ffaf5ee8f4a250aab39
2018-12-11 12:19:29 +01:00

21 lines
712 B
C++

/*
* Copyright (C) 2018 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "runtime/aub/aub_center.h"
#include "runtime/helpers/hw_info.h"
#include "runtime/os_interface/debug_settings_manager.h"
namespace OCLRT {
AubCenter::AubCenter(const HardwareInfo *pHwInfo, bool localMemoryEnabled, const std::string &aubFileName) {
if (DebugManager.flags.UseAubStream.get()) {
aubManager.reset(AubDump::AubManager::create(pHwInfo->pPlatform->eRenderCoreFamily, 1, 1, localMemoryEnabled, pHwInfo->capabilityTable.aubDeviceId, aubFileName));
}
addressMapper = std::make_unique<AddressMapper>();
streamProvider = std::make_unique<AubFileStreamProvider>();
}
} // namespace OCLRT