SWDEV-359838 - Add a phase data pointer to the hip_api_data_t

To avoid using the thread local std::stack to remember the phase enter
timestamp, the tracer tool uses the phase data to store the timestamp.

Change-Id: I9e95637b41d6f0b2bd61016062ca07d6ba897652
This commit is contained in:
Laurent Morichetti committed 2022-09-30 14:55:01 -07:00
1 szülő b425e27230
commit 47a29c748a
2 files changed
+2

No files matched your search

@@ -3123,6 +3123,7 @@ typedef struct hip_api_data_s {
hipStream_t stream;
} hipWaitExternalSemaphoresAsync;
} args;
uint64_t *phase_data;
} hip_api_data_t;
// HIP API callbacks args data filling macros