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

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Aug 29 11:06:24 PDT 2023


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

Address nits and add static check for size of `clock_t` type.


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159118.554434.patch
Type: text/x-patch
Size: 7765 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230829/6f4b4dc7/attachment-0001.bin>


More information about the libc-commits mailing list