llvm-capstone/clang/test/Driver/hip-default-gpu-arch.hip
Michael Liao 691e44c146 [HIP] Enable specifying different default gpu arch for HIP/CUDA.
Reviewers: tra, yaxunl

Subscribers: cfe-commits

Tags: #clang

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

llvm-svn: 373634
2019-10-03 17:49:20 +00:00

8 lines
204 B
Plaintext

// REQUIRES: clang-driver
// REQUIRES: x86-registered-target
// REQUIRES: amdgpu-registered-target
// RUN: %clang -### -x hip -c %s 2>&1 | FileCheck %s
// CHECK: {{.*}}clang{{.*}}"-target-cpu" "gfx803"