[Openmp-commits] [PATCH] D75581: [libomptarget][amdgcn] Implement get_wtime

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Mar 3 16:40:11 PST 2020


JonChesterfield marked an inline comment as done.
JonChesterfield added inline comments.


================
Comment at: openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.hip:50
+  return ((double)1.0 / 745000000.0) * t;
 }
 
----------------
I don't have a source for the magic number. It's from before my time. I can offer that rough checks from running applications look ok, and that it has been shipping as part of aomp for ages without user complaints.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75581/new/

https://reviews.llvm.org/D75581





More information about the Openmp-commits mailing list