SWDEV-254329 - Fix for profiler ON/OFF

Change-Id: Iea72ae96ebe7ed95322dfc39d785ac326b47f6dc


[ROCm/clr commit: 14d54a7b29]
이 커밋은 다음에 포함됨:
Sarbojit Sarkar 작성하고 Sarbojit Sarkar가 2021-03-02 02:16:14 -05:00를 커밋함
1 부모 f6cc68deac
커밋 469f00e6f3
4 파일이 변경됨
+5 -5

검색과 일치하는 파일 없음

+1 -1
파일 보기
@@ -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();
}