[PATCH] D140433: [Clang] Add `nvptx-arch` tool to query installed NVIDIA GPUs

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 21 11:35:35 PST 2022


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

Print to `stderr` and only return `1` if thre was an actual error. A lack of devices is considered a success and we print nothing.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140433

Files:
  clang/tools/CMakeLists.txt
  clang/tools/nvptx-arch/CMakeLists.txt
  clang/tools/nvptx-arch/NVPTXArch.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140433.484637.patch
Type: text/x-patch
Size: 3799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221221/ea4f214c/attachment.bin>


More information about the cfe-commits mailing list