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
2020-10-16 14:20:58 -04:00
父节点 17d2e5cf56
当前提交 bd340d8cbf
修改 6 个文件,包含 47 行新增11 行删除
+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();