SWDEV-254329 - Fix for profiler ON/OFF

Change-Id: Iea72ae96ebe7ed95322dfc39d785ac326b47f6dc


[ROCm/clr commit: 14d54a7b29]
Dieser Commit ist enthalten in:
Sarbojit Sarkar verfasst und Sarbojit Sarkar committed 2021-03-02 02:16:14 -05:00
1 Ursprung f6cc68deac
Commit 469f00e6f3
4 Dateien geändert
+5 -5

Keine Dateien entsprechen Ihrer Suche

+1 -1
Datei anzeigen
@@ -45,7 +45,7 @@ namespace amd {
Event::Event(HostQueue& queue)
: callbacks_(NULL),
status_(CL_INT_MAX),
profilingInfo_(queue.properties().test(CL_QUEUE_PROFILING_ENABLE) ||
profilingInfo_(IS_PROFILER_ON || queue.properties().test(CL_QUEUE_PROFILING_ENABLE) ||
Agent::shouldPostEventEvents()) {
notified_.clear();
}