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]
This commit is contained in:
Saleel Kudchadker
2021-05-11 16:55:15 -07:00
والد 6cd1f5854e
کامیت eeea586a2a
5فایلهای تغییر یافته به همراه49 افزوده شده و 1 حذف شده
@@ -1192,6 +1192,8 @@ class VirtualDevice : public amd::HeapObject {
ShouldNotReachHere();
}
virtual void submitStreamOperation(amd::StreamOperationCommand& cmd) { ShouldNotReachHere(); }
virtual void profilerAttach(bool enable) = 0;
//! Get the blit manager object
device::BlitManager& blitMgr() const { return *blitMgr_; }