================
@@ -0,0 +1,52 @@
+// RUN: %clang_cc1 -fsycl-is-device -fsyntax-only -verify -DSYCL %s
+// RUN: %clang_cc1 -fsycl-is-host -fsyntax-only -verify -DHOST %s
----------------
tahonermann wrote:

Since SYCL applies to both host and device, let's differentiate by "host" and 
"device" (with or without "SYCL")
```suggestion
// RUN: %clang_cc1 -fsycl-is-device -fsyntax-only -verify -DDEVICE %s
// RUN: %clang_cc1 -fsycl-is-host -fsyntax-only -verify -DHOST %s
```

https://github.com/llvm/llvm-project/pull/140282
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to