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:
sdashmiz
2023-06-12 15:38:54 -04:00
committed by Shadi Dashmiz
parent 2e960fae8f
commit 2216908962
6 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -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.