[PATCH] D146973: [Clang] Implicitly include LLVM libc headers for the GPU

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 27 12:34:47 PDT 2023


jhuber6 added a comment.

In D146973#4225300 <https://reviews.llvm.org/D146973#4225300>, @tschuett wrote:

> Could you hide the amdgpu and nvptx somewhere libc here `clang -print-resource-dir` in two different directories?  One for AMD, one for NVPTX.

So, right now this header is installed from the `libc` projects. So is there a good way to communicate the resource directory as an install target? Also I think just calling it `gpu` would be sufficient, I'd like these to be common between the GPUs.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146973



More information about the cfe-commits mailing list