[PATCH] D108835: [NVPTX] consider nvptx-nvidia-gpulibs triple to be compatible with other variants.
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 30 08:32:57 PDT 2021
jdoerfert added a comment.
In D108835#2969791 <https://reviews.llvm.org/D108835#2969791>, @tra wrote:
> I've checked libdevice in different CUDA versions and the results are rather inconsistent:
>
> For triples, CUDA-10+ uses `nvptx64-nvidia-gpulibs`, older versions use `nvptx-unknown-unknown`
> Data layout is absent until CUDA-11.1.
>
> Instead of chasing all the variations, I wonder if we should just disable linker warning for libdevice somewhere in clang.
I was initially thinking to have a flag to do so. With this patch I though we could make it work without. If this patch doesn't work,
I agree, linking libdevice should set a "don't look too closely" flag.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108835/new/
https://reviews.llvm.org/D108835
More information about the llvm-commits
mailing list