Closed seanbaxter closed 3 months ago
@seanbaxter Can you please check with latest ROCm 6.0.2 (HIP 6.0.32831)? Thanks!
Hi @seanbaxter, this issue is no longer seen in ROCm 6.1.2 as there is only a single declaration of clock_t clock()
at https://github.com/ROCm/HIP/blob/develop/docs/reference/kernel_language.rst#timer-functions.
/opt/rocm/include/hip/amd_detail/amd_device_functions.h:995 declares
clock()
to have return typelong long
. ctime.h declares it to have return typeclock_t
, which islong
. Please fix.