diff options
Diffstat (limited to 'openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h')
| -rw-r--r-- | openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h b/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h index ec72800cd69..497cd06ac28 100644 --- a/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h +++ b/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h @@ -105,10 +105,10 @@ INLINE uint32_t __kmpc_impl_smid() { return __smid(); } -INLINE double __target_impl_get_wtick() { return ((double)1E-9); } +INLINE double __kmpc_impl_get_wtick() { return ((double)1E-9); } EXTERN uint64_t __clock64(); -INLINE double __target_impl_get_wtime() { +INLINE double __kmpc_impl_get_wtime() { return ((double)1.0 / 745000000.0) * __clock64(); } |

