[PATCH] D159118: [libc] Implement the 'clock()' function on the GPU

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 30 12:08:32 PDT 2023


jhuber6 updated this revision to Diff 554797.
jhuber6 added a comment.

Move the header portion into a common utility header.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159118

Files:
  clang/lib/Headers/llvm_libc_wrappers/time.h
  libc/config/gpu/api.td
  libc/config/gpu/entrypoints.txt
  libc/config/gpu/headers.txt
  libc/docs/gpu/support.rst
  libc/include/llvm-libc-macros/gpu/CMakeLists.txt
  libc/include/llvm-libc-macros/gpu/time-macros.h
  libc/include/llvm-libc-macros/time-macros.h
  libc/src/time/gpu/CMakeLists.txt
  libc/src/time/gpu/clock.cpp
  libc/src/time/gpu/time_utils.cpp
  libc/src/time/gpu/time_utils.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159118.554797.patch
Type: text/x-patch
Size: 9651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230830/717ebe79/attachment.bin>


More information about the cfe-commits mailing list