[libc-commits] [PATCH] D153388: [libc] Add basic utility support for timing functions on the GPU

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jun 20 19:08:29 PDT 2023


jhuber6 added a comment.

In D153388#4436551 <https://reviews.llvm.org/D153388#4436551>, @arsenm wrote:

> needs some tests targeting the different targets, I don't know if __has_builtin will really work this way

Not sure how to stand up a test just yet. In the future I would like to add a global to normalize the timestamp to a nanosecond resolution. I checked briefly via https://godbolt.org/z/4xjxjTovb and figured it worked.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153388



More information about the libc-commits mailing list