[libc-commits] [PATCH] D158320: [libc] Initial support for microbenchmarking GPU code

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Aug 25 12:41:17 PDT 2023


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

Address comments. Also add `__syncthreads()` to the NVPTX implementation. It
seems to succeed in preventing optimizations when I check the SASS of the
produced binary.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158320

Files:
  libc/src/__support/GPU/nvptx/utils.h
  libc/utils/gpu/CMakeLists.txt
  libc/utils/gpu/timing/CMakeLists.txt
  libc/utils/gpu/timing/amdgpu/CMakeLists.txt
  libc/utils/gpu/timing/amdgpu/timing.h
  libc/utils/gpu/timing/nvptx/CMakeLists.txt
  libc/utils/gpu/timing/nvptx/timing.h
  libc/utils/gpu/timing/timing.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158320.553580.patch
Type: text/x-patch
Size: 9114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230825/288f57ca/attachment-0001.bin>


More information about the libc-commits mailing list