[PATCH] D128441: [CUDA] Do not embed a fatbinary when using the new driver

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 5 11:26:17 PDT 2022


tra added a comment.

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.


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