[PATCH] D70245: [OPENMP50]Add device/kind context selector support.

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 15 18:28:15 PST 2019


ABataev marked an inline comment as done.
ABataev added inline comments.


================
Comment at: clang/test/OpenMP/declare_variant_device_kind_codegen.cpp:81
+#define SUBSET host, cpu
+#define WRONG cpu, gpu
+#endif // CPU
----------------
jdoerfert wrote:
> What is wrong about cpu, gpu together?
When several traits sre used, the logic and is applied. So, cpu,gpu means that the target is cpu and gpu at the same time.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70245





More information about the cfe-commits mailing list