The arguments for these callbacks include .stream and .stream__val. Based on /opt/rocm-5.2.0/include/hip/hcc_detail/hip_prof_str.h.stream__val should be the value when dereferencing .stream in the EXIT phase. Though I get different values between *.stream and .stream__val for all hipStreamCreate* functions.
An example:
the callback sees the following values in the EXIT phase:
.stream = 0x7ffc6046c4a0
*.stream = 0x2379830
stream__val = 0x2375cb0
The caller of hipStreamCreate sees this value: 0x2379830
Can someone sched some light on the difference. Thanks.
The arguments for these callbacks include
.stream
and.stream__val
. Based on/opt/rocm-5.2.0/include/hip/hcc_detail/hip_prof_str.h
.stream__val
should be the value when dereferencing.stream
in the EXIT phase. Though I get different values between*.stream
and.stream__val
for allhipStreamCreate*
functions.An example:
the callback sees the following values in the EXIT phase:
.stream = 0x7ffc6046c4a0
*.stream = 0x2379830
stream__val = 0x2375cb0
The caller of
hipStreamCreate
sees this value:0x2379830
Can someone sched some light on the difference. Thanks.