brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 2d64ca1 Raw
20 lines · plain
1// RUN: %clang -### --target=x86_64-linux-gnu \2// RUN:   --cuda-gpu-arch=gfx900 \3// RUN:   --rocm-path=%S/Inputs/rocm --cuda-device-only %s \4// RUN:   2>&1 | FileCheck %s --check-prefixes=WAVE645// WAVE64: "-mlink-builtin-bitcode" "{{.*}}oclc_wavefrontsize64_on.bc"{{.*}} "-target-cpu" "gfx900"6 7// RUN: %clang -### --target=x86_64-linux-gnu \8// RUN:   --cuda-gpu-arch=gfx1010 \9// RUN:   --rocm-path=%S/Inputs/rocm --cuda-device-only %s \10// RUN:   2>&1 | FileCheck %s --check-prefixes=WAVE3211// WAVE32: "-mlink-builtin-bitcode" "{{.*}}oclc_wavefrontsize64_off.bc"{{.*}} "-target-cpu" "gfx1010"12 13// RUN: %clang -### --target=x86_64-linux-gnu \14// RUN:   --cuda-gpu-arch=gfx1010 \15// RUN:   --cuda-gpu-arch=gfx900 \16// RUN:   --rocm-path=%S/Inputs/rocm --cuda-device-only %s \17// RUN:   2>&1 | FileCheck %s --check-prefixes=BOTH18// BOTH-DAG: "-mlink-builtin-bitcode" "{{.*}}oclc_wavefrontsize64_on.bc"{{.*}} "-target-cpu" "gfx900"19// BOTH-DAG: "-mlink-builtin-bitcode" "{{.*}}oclc_wavefrontsize64_off.bc"{{.*}} "-target-cpu" "gfx1010"20