mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Add AUB generation in parallel to execution on TBX
This commit adds support for AUB capturing with simultaneous execution on TBX Change-Id: I046bac6b953708007c525050fbf9357120a310b6
This commit is contained in:
committed by
sys_ocldev
parent
003a277c3a
commit
fcb9a591b0
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, Intel Corporation
|
||||
* Copyright (c) 2017 - 2018, Intel Corporation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -29,7 +29,7 @@ namespace OCLRT {
|
||||
|
||||
TbxCommandStreamReceiverCreateFunc tbxCommandStreamReceiverFactory[IGFX_MAX_CORE] = {};
|
||||
|
||||
CommandStreamReceiver *TbxCommandStreamReceiver::create(const HardwareInfo &hwInfo) {
|
||||
CommandStreamReceiver *TbxCommandStreamReceiver::create(const HardwareInfo &hwInfo, bool withAubDump) {
|
||||
|
||||
if (hwInfo.pPlatform->eRenderCoreFamily >= IGFX_MAX_CORE) {
|
||||
DEBUG_BREAK_IF(!false);
|
||||
@@ -38,6 +38,6 @@ CommandStreamReceiver *TbxCommandStreamReceiver::create(const HardwareInfo &hwIn
|
||||
|
||||
auto pCreate = tbxCommandStreamReceiverFactory[hwInfo.pPlatform->eRenderCoreFamily];
|
||||
|
||||
return pCreate ? pCreate(hwInfo) : nullptr;
|
||||
return pCreate ? pCreate(hwInfo, withAubDump) : nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user