diff options
| author | JonChesterfield <jonathanchesterfield@gmail.com> | 2019-12-19 00:11:21 +0000 |
|---|---|---|
| committer | JonChesterfield <jonathanchesterfield@gmail.com> | 2019-12-19 00:11:21 +0000 |
| commit | 9aefe5f65ec6e8143f08b8e6f5b7d138d3283562 (patch) | |
| tree | 85fb1ebfd9097d0f1ce853e9d8f77ced5f96c497 | |
| parent | 48999eb398ebec72fdf7194f5d2605dd3c799caf (diff) | |
| download | bcm5719-llvm-9aefe5f65ec6e8143f08b8e6f5b7d138d3283562.tar.gz bcm5719-llvm-9aefe5f65ec6e8143f08b8e6f5b7d138d3283562.zip | |
[libomptarget][amdgcn] Correct return type of extern __clock64 to unsigned
| -rw-r--r-- | openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h b/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h index 40bbf943aef..e0d6bb1953c 100644 --- a/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h +++ b/openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h @@ -109,7 +109,7 @@ INLINE uint32_t __kmpc_impl_smid() { INLINE double __target_impl_get_wtick() { return ((double)1E-9); } -EXTERN int64_t __clock64(); +EXTERN uint64_t __clock64(); INLINE double __target_impl_get_wtime() { return ((double)1.0 / 745000000.0) * __clock64(); } |

