[PATCH] D105295: [CUDA] Only allow NVIDIA offload-arch during CUDA compilation.
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 13 11:44:11 PDT 2021
tra added a comment.
Ugh. I broke the cuda-bad-arch.cu test.
================
Comment at: clang/test/Driver/cuda-bad-arch.cu:30
// RUN: | FileCheck -check-prefix OK %s
// RUN: %clang -### -target x86_64-linux-gnu --cuda-gpu-arch=gfx90a -c %s 2>&1 \
// RUN: | FileCheck -check-prefix OK %s
----------------
HIP tests should've used `-x hip`. I'll fix the test shortly.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105295/new/
https://reviews.llvm.org/D105295
More information about the cfe-commits
mailing list