[all-commits] [llvm/llvm-project] 01d3a3: [CUDA] Only allow NVIDIA offload-arch during CUDA ...

Artem Belevich via All-commits all-commits at lists.llvm.org
Tue Jul 13 11:10:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01d3a3dcabaf862581b1d1aee604fcee6a18b240
      https://github.com/llvm/llvm-project/commit/01d3a3dcabaf862581b1d1aee604fcee6a18b240
  Author: Artem Belevich <tra at google.com>
  Date:   2021-07-13 (Tue, 13 Jul 2021)

  Changed paths:
    M clang/lib/Driver/Driver.cpp
    M clang/test/Driver/cuda-bad-arch.cu

  Log Message:
  -----------
  [CUDA] Only allow NVIDIA offload-arch during CUDA compilation.

Otherwise, if someone specifies a valid AMD arch, we may end up triggering an
assertion on unexpected arch later on.

Differential Revision: https://reviews.llvm.org/D105295




More information about the All-commits mailing list