mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 04:48:08 +08:00
Pass hwInfo to AubHelper::getMemBankSize()
Change-Id: If77775cb5fb10dc82e0c7bef06a71e4292ceb6f9 Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
958d931cd9
commit
12245bc88d
@@ -21,7 +21,7 @@ extern aub_stream::AubManager *createAubManager(uint32_t productFamily, uint32_t
|
||||
AubCenter::AubCenter(const HardwareInfo *pHwInfo, bool localMemoryEnabled, const std::string &aubFileName, CommandStreamReceiverType csrType) {
|
||||
if (DebugManager.flags.UseAubStream.get()) {
|
||||
auto devicesCount = AubHelper::getDevicesCount(pHwInfo);
|
||||
auto memoryBankSize = AubHelper::getMemBankSize();
|
||||
auto memoryBankSize = AubHelper::getMemBankSize(pHwInfo);
|
||||
CommandStreamReceiverType type = static_cast<CommandStreamReceiverType>(DebugManager.flags.SetCommandStreamReceiver.get() != CommandStreamReceiverType::CSR_HW
|
||||
? DebugManager.flags.SetCommandStreamReceiver.get()
|
||||
: csrType);
|
||||
|
||||
Reference in New Issue
Block a user