SWDEV-403638 - Fix warnings
- disable deprecated function use warning
- disalbe size_t to .type' warning
- disable conversion from 'type1' to 'type2' warning
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I64161fd37cf56de3d132102103267ae8da40193a
[ROCm/clr commit: 38a67df312]
This commit is contained in:
@@ -53,7 +53,7 @@ bool IsEnabled(OpId operation_id) {
|
||||
|
||||
void ReportActivity(const amd::Command& command) {
|
||||
assert(command.profilingInfo().enabled_ && "profiling must be enabled for this command");
|
||||
auto operation_id = OperationId(command.type());
|
||||
activity_op_t operation_id = OperationId(command.type());
|
||||
if (operation_id >= OP_ID_NUMBER)
|
||||
// This command does not translate into a profiler activity (dispatch, memcopy, etc...), there
|
||||
// is nothing to report to the profiler.
|
||||
|
||||
Reference in New Issue
Block a user