SWDEV-247372 - Always enable marker_ts_ events
Change-Id: I7579ba1ee228809ce38f6f130fb33f1164587903
This commit is contained in:
@@ -150,10 +150,9 @@ void Event::addMarker(amd::HostQueue* queue, amd::Command* command, bool record)
|
|||||||
amd::ScopedLock lock(lock_);
|
amd::ScopedLock lock(lock_);
|
||||||
|
|
||||||
if (command == nullptr) {
|
if (command == nullptr) {
|
||||||
bool recordExplicitGpuTs = !queue->properties().test(CL_QUEUE_PROFILING_ENABLE) &&
|
static constexpr bool kRecordExplicitGpuTs = true;
|
||||||
!(flags & hipEventDisableTiming);
|
// Always submit a EventMarker.
|
||||||
// Always submit a EventMarker. This would submit a NOP with a signal.
|
command = new hip::EventMarker(*queue, !kMarkerDisableFlush, kRecordExplicitGpuTs);
|
||||||
command = new hip::EventMarker(*queue, !kMarkerDisableFlush, recordExplicitGpuTs);
|
|
||||||
command->enqueue();
|
command->enqueue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
مرجع در شماره جدید
Block a user