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
Este commit está contenido en:
German Andryeyev
2020-10-16 14:20:58 -04:00
padre 17d2e5cf56
commit bd340d8cbf
Se han modificado 6 ficheros con 47 adiciones y 11 borrados
+4 -2
Ver fichero
@@ -213,8 +213,8 @@ class Command : public Event {
//! Next GPU command in the queue list
Command* next_;
const cl_command_type type_; //!< This command's OpenCL type.
volatile int32_t exception_; //!< The first raised exception.
cl_command_type type_; //!< This command's OpenCL type.
volatile int32_t exception_; //!< The first raised exception.
void* data_;
protected:
@@ -298,6 +298,8 @@ class Command : public Event {
//! Get command wait bits
uint32_t getWaitBits() const { return commandWaitBits_; }
void OverrrideCommandType(cl_command_type type) { type_ = type; }
};
class UserEvent : public Command {