adding post initialization of HIP API pointer args to print returned by reference values
Change-Id: Ifb73434d7ab9cd2dfe8811fc0cd013b78f4e12f2
This commit is contained in:
committed by
Evgeny Shcherbakov
parent
2c0c665398
commit
a83acdae3a
@@ -372,6 +372,9 @@ void hip_api_callback(
|
||||
if (data->phase == ACTIVITY_API_PHASE_ENTER) {
|
||||
hip_begin_timestamp = timer->timestamp_fn_ns();
|
||||
} else {
|
||||
// Post onit of HIP APU args
|
||||
hipApiArgsInit((hip_api_id_t)cid, const_cast<hip_api_data_t*>(data));
|
||||
|
||||
const timestamp_t end_timestamp = timer->timestamp_fn_ns();
|
||||
hip_api_trace_entry_t* entry = hip_api_trace_buffer.GetEntry();
|
||||
entry->valid = roctracer::TRACE_ENTRY_COMPL;
|
||||
|
||||
Reference in New Issue
Block a user