[PATCH] D29647: [OpenMP] Extend CLANG target options with device offloading kind.
Hal Finkel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 28 09:30:03 PDT 2017
hfinkel added inline comments.
================
Comment at: test/Driver/openmp-offload.c:614
+/// Check -march propagates compute capability to device offloading toolchain.
+// RUN: %clang -### -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda -save-temps -no-canonical-prefixes -march=sm_35 %s 2>&1 \
+// RUN: | FileCheck -check-prefix=CHK-COMPUTE-CAPABILITY %s
----------------
How does this work on x86 where the host also uses -march?
Repository:
rL LLVM
https://reviews.llvm.org/D29647
More information about the cfe-commits
mailing list