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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user