150869be6aad4ea6f39e4de5708ce46217560bc9
Context::GetData() would crash when it tries to wait on the completion signal of the stop packet. The expected signal value after waiting in HsaRsrcFactory::SignalWait() is supposed to be 0 but sometimes it comes up as -1. The signal being checked has already decremented before. Profile::Finalize() was assigning the same completion signal to the read and stop packet. So those two packets have been assigned different completion signals. This fix only affects standalone profiling mode.
Change-Id: I4b16825019e58d95d70188a72b2cc5871e09dd81
[ROCm/rocprofiler commit: 34606db8c3]
Açıklama
Hiçbir açıklama sağlanmadı
Dil
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Diğer
1.1%