We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1f916c commit 4ed745cCopy full SHA for 4ed745c
clang/test/Driver/hip-code-object-version.hip
@@ -22,11 +22,14 @@
22
23
// Check bundle ID for code object version 6.
24
25
-// RUN: not %clang -### --target=x86_64-linux-gnu \
+// RUN: %clang -### --target=x86_64-linux-gnu \
26
// RUN: -mcode-object-version=6 \
27
// RUN: --offload-arch=gfx906 --rocm-path=%S/Inputs/rocm \
28
// RUN: %s 2>&1 | FileCheck -check-prefix=V6 %s
29
30
+// V6: "-mcode-object-version=6"
31
+// V6: "-mllvm" "--amdhsa-code-object-version=6"
32
+// V6: "-targets=host-x86_64-unknown-linux-gnu,hipv4-amdgcn-amd-amdhsa--gfx906"
33
34
// Check bundle ID for code object version default
35
0 commit comments