Roctracer returns CopyHostToDevice for hipMemcpyDtoD API call.
Please look at the attached image. At HIP API activity record, we have executed hipMemcpyDtoD but in ACTIVITY_DOMAIN_HIP_OPS it shows a CopyHostToDevice (kind = 4596).
Please ignore the invalid device id and stream id in the second line.
Here is the codes to reproduce this issue. Please run "make run" after extracting the zip file.
@reza-amd Can you please check if issue still occurs with the latest ROCm 6.2. Thanks!
@reza-amd Sorry for the lack of response. We are not able to reproduce the issue on latest rocm 6.2
Seems like the CopyHostToDevices was supposed to belong to the hipMemcpy command for host to device operation (sample.cc line 100) that was not reported in older versions of hip runtime.
We will close the ticket since the issue seem to no longer exist in the newest version of ROCm & is not a breaking error. Please feel free to reopen/follow up if you think it requires further address. Thanks!