Correct reported info in ROC profiler

OCL can't distinguish different copy types, but ROC profiler
expects SDMA transfer visibility. Add extra code to detect
a transfer with the host memory and substitute OCL command

Change-Id: I5290acd0e10bc082e00c1d4ae1474a075de7f165
This commit is contained in:
German Andryeyev
2020-10-16 14:20:58 -04:00
parent 17d2e5cf56
commit bd340d8cbf
6 changed files with 47 additions and 11 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ bool Event::setStatus(int32_t status, uint64_t timeStamp) {
// status, we release all the resources associated with this instance.
releaseResources();
activity_.ReportEventTimestamps(*this);
activity_.ReportEventTimestamps(command());
// Broadcast all the waiters.
if (referenceCount() > 1) {
signal();