SWDEV-254329 - Fix for profiler ON/OFF

Change-Id: Iea72ae96ebe7ed95322dfc39d785ac326b47f6dc
This commit is contained in:
Sarbojit Sarkar
2021-02-22 00:42:18 -05:00
committed by Sarbojit Sarkar
parent 24299e25bd
commit 14d54a7b29
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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();
}