mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 20:39:56 +08:00
Improve PrintDeviceAndEngineIdOnSubmission flag
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
96d14967ac
commit
7979dcb757
@@ -669,7 +669,12 @@ bool CommandStreamReceiver::needsPageTableManager(aub_stream::EngineType engineT
|
||||
|
||||
void CommandStreamReceiver::printDeviceIndex() {
|
||||
if (DebugManager.flags.PrintDeviceAndEngineIdOnSubmission.get()) {
|
||||
printf("Submission to RootDevice Index: %u, Sub-Devices Mask: %lu, EngineId: %u\n", this->getRootDeviceIndex(), this->osContext->getDeviceBitfield().to_ulong(), this->osContext->getEngineType());
|
||||
printf("Submission to RootDevice Index: %u, Sub-Devices Mask: %lu, EngineId: %u (%s, %s)\n",
|
||||
this->getRootDeviceIndex(),
|
||||
this->osContext->getDeviceBitfield().to_ulong(),
|
||||
this->osContext->getEngineType(),
|
||||
EngineHelpers::engineTypeToString(this->osContext->getEngineType()).c_str(),
|
||||
EngineHelpers::engineUsageToString(this->osContext->getEngineUsage()).c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user