[PATCH] D57768: [SYCL] Add clang front-end option to enable SYCL device compilation flow.

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 21 06:15:46 PST 2019


ABataev added inline comments.


================
Comment at: clang/test/Preprocessor/sycl-macro.cpp:1
+// RUN: %clang_cc1 %s -fsycl-is-device -E -dM | FileCheck %s
+
----------------
Add a test that without this option `__SYCL_DEVICE_ONLY__` is not defined


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57768/new/

https://reviews.llvm.org/D57768





More information about the cfe-commits mailing list