================ @@ -4306,10 +4306,10 @@ // Begin amdgcn tests ---------------- -// RUN: %clang -mcpu=gfx803 -E -dM %s -o - 2>&1 \ +// RUN: %clang -mcpu=gfx803 -E -dM -Xclang -fcuda-is-device %s -o - 2>&1 \ ---------------- yxsamliu wrote:
C code compiled with target amdgcn should not depend on -fcuda-is-device since it is only compiled for device https://github.com/llvm/llvm-project/pull/83558 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits