SWDEV-301667 - Reset profiler correlation_id_

- The correlation_id had random junk values which we were inserting in
the dispatch AQL packet even when no profiler was attached but if we had
a valid timestamp.
- Also make sure we dont even write the reserved2 field in the AQL
packet if no profiler attached.

Change-Id: Icdb7493198c1bb5e2d786a97e027288660854cd7


[ROCm/clr commit: 9a6ddae7b2]
이 커밋은 다음에 포함됨:
Saleel Kudchadker 작성하고 Maneesh Gupta가 2024-02-05 05:08:11 +00:00를 커밋함
1 부모 3445b57a43
커밋 cc0b04cc60
3 파일이 변경됨
+6 -2

검색과 일치하는 파일 없음

+3 -1
파일 보기
@@ -158,7 +158,9 @@ bool Event::setStatus(int32_t status, uint64_t timeStamp) {
releaseResources();
}
if (profilingInfo().enabled_) activity_prof::ReportActivity(command());
if (profilingInfo().enabled_ && activity_prof::IsEnabled(OP_ID_DISPATCH)) {
activity_prof::ReportActivity(command());
}
// Broadcast all the waiters.
if (referenceCount() > 1) {