roctracer icon indicating copy to clipboard operation
roctracer copied to clipboard

Roctracer returns CopyHostToDevice for hipMemcpyDtoD API call.

Open reza-amd opened this issue 4 years ago • 1 comments

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). Capture Please ignore the invalid device id and stream id in the second line.

reza-amd avatar Apr 11 '21 02:04 reza-amd

Here is the codes to reproduce this issue. Please run "make run" after extracting the zip file.

roctracer_issue.zip

reza-amd avatar Apr 13 '21 05:04 reza-amd

@reza-amd Can you please check if issue still occurs with the latest ROCm 6.2. Thanks!

ppanchad-amd avatar Aug 14 '24 20:08 ppanchad-amd

@reza-amd Sorry for the lack of response. We are not able to reproduce the issue on latest rocm 6.2 image

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!

tcgu-amd avatar Sep 19 '24 14:09 tcgu-amd