[PATCH] D128441: [CUDA] Do not embed a fatbinary when using the new driver
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 5 11:28:46 PDT 2022
jhuber6 added a comment.
In D128441#3702800 <https://reviews.llvm.org/D128441#3702800>, @tra wrote:
> This change breaks `clang++ --cuda-device-only` compilation. Clang does not create any output in this case. Reverting the change fixes the problem.
>
> Reproducible with:
>
> echo '__global__ void k(){}' | bin/clang++ --offload-arch=sm_70 -x cuda - --cuda-device-only -v -c -o foo123.o
>
> Compilation succeeds, but there's no `foo123.o` to be found.
Is it spitting it out as `foo123.cubin` instead?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128441/new/
https://reviews.llvm.org/D128441
More information about the cfe-commits
mailing list