mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Print device and engine info
Related-To: NEO-4640 Change-Id: I244af3d3407479d17aab603c9c5c3dc60888f7e5 Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
d176462fb0
commit
29c657046d
@@ -510,4 +510,10 @@ bool CommandStreamReceiver::needsPageTableManager(aub_stream::EngineType engineT
|
||||
return HwHelper::get(hwInfo->platform.eRenderCoreFamily).isPageTableManagerSupported(*hwInfo);
|
||||
}
|
||||
|
||||
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());
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user