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
Этот коммит содержится в:
German Andryeyev committed 2020-10-23 18:29:48 -04:00
1 родитель 17d2e5cf56
Коммит bd340d8cbf
6 files changed
+47 -11

No files matched your search

+1 -1
Просмотреть файл
@@ -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();