SWDEV-283726 - Workaround for rocprof hang

This addresses the rocprof hang seen with direct dispatch. The
workaround queues the handler back if any of the signal value in the batch
is not decremented. To rememmber the last position in the list, we save
the parsed command in the current timestamp struct.

Change-Id: I02959e463cfe3cee83c54808ffd6e6f48f43b4e8


[ROCm/clr commit: e5e635f9bf]
Este cometimento está contido em:
Saleel Kudchadker cometeu 2021-05-13 11:58:03 -04:00
1 ascendente 6cd1f5854e
cometimento eeea586a2a
5 ficheiros modificados
+49 -1

Não existem ficheiros que correspondam à sua pesquisa

+3
Ver ficheiro
@@ -309,6 +309,9 @@ class VirtualGPU : public device::VirtualDevice, public CALGSLContext {
//! End the command profiling
void profilingEnd(amd::Command& command);
//! Attach profiler
void profilerAttach(bool enable = false) {}
//! Collect the profiling results
bool profilingCollectResults(CommandBatch* cb, //!< Command batch
const amd::Event* waitingEvent //!< Waiting event