mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
Improve TimestampPacketWriteEnabled condition check
Change-Id: I2117dbd7841e65ed87241c0b08fafe058019b690 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
f0c9e99ce7
commit
e0f782e77a
@@ -221,7 +221,7 @@ void CommandQueueHw<GfxFamily>::enqueueHandler(Surface **surfacesForResidency,
|
||||
}
|
||||
|
||||
if (eventBuilder.getEvent()) {
|
||||
if (timestampPacketContainer.get()) {
|
||||
if (commandStreamReceiver.peekTimestampPacketWriteEnabled()) {
|
||||
eventBuilder.getEvent()->addTimestampPacketNodes(*timestampPacketContainer);
|
||||
}
|
||||
if (this->isProfilingEnabled()) {
|
||||
|
||||
Reference in New Issue
Block a user