mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Debug logs: print tag allocation address.
Change-Id: Ia5d8cf16fa42f7b1f567e4ac79fae61bbcb6f13a Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
0cc717b1b4
commit
1b0983d7db
@@ -432,6 +432,10 @@ bool CommandStreamReceiver::initializeTagAllocation() {
|
||||
*this->tagAddress = DebugManager.flags.EnableNullHardware.get() ? -1 : initialHardwareTag;
|
||||
*this->debugPauseStateAddress = DebugManager.flags.EnableNullHardware.get() ? DebugPauseState::disabled : DebugPauseState::waitingForFirstSemaphore;
|
||||
|
||||
PRINT_DEBUG_STRING(DebugManager.flags.PrintTagAllocationAddress.get(), stdout,
|
||||
"\nCreated tag allocation %p for engine %u\n",
|
||||
this->tagAddress, static_cast<uint32_t>(osContext->getEngineType()));
|
||||
|
||||
if (DebugManager.flags.PauseOnEnqueue.get() != -1 || DebugManager.flags.PauseOnBlitCopy.get() != -1) {
|
||||
userPauseConfirmation = Thread::create(CommandStreamReceiver::asyncDebugBreakConfirmation, reinterpret_cast<void *>(this));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user