SWDEV-507117: Unify OMP Target Offload Events into a Single Perfetto … (#230)
* SWDEV-507117: Unify OMP Target Offload Events into a Single Perfetto Timeline Row
* Fixed warning and format
---------
Co-authored-by: David Galiffi <David.Galiffi@amd.com>
[ROCm/rocprofiler-systems commit: c5507e3740]
This commit is contained in:
@@ -163,10 +163,7 @@ struct ompt : comp::base<ompt, void>
|
||||
|
||||
auto _track = tracing::get_perfetto_track(
|
||||
category::ompt{},
|
||||
[](uint64_t _targ_id_v) {
|
||||
return ::timemory::join::join("", "OMP Target ", _targ_id_v);
|
||||
},
|
||||
targ_id);
|
||||
[](auto) -> std::string { return "OpenMP Target Offloads"; }, 0);
|
||||
|
||||
category_region<category::ompt>::start<tim::quirk::perfetto>(
|
||||
name, _track, beg_time, ::perfetto::Flow::ProcessScoped(id),
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user