yxsamliu wrote:

@jhuber6 Re: implicit search paths Yes. They currently come from the frontend’s 
generic fallback: GPU triples are not excluded, so `InitHeaderSearch` adds 
paths such as `/usr/local/include` and `/usr/include` as if the GPU were a host 
target. The `triple.isGPU()` check suppresses that fallback. The AMDGPU and 
NVPTX toolchains then add back only Clang’s built-in resource headers, which 
GPU compilations still need.

https://github.com/llvm/llvm-project/pull/192821
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to