[PATCH] D39936: [OpenCL] Add extensions cl_intel_subgroups and cl_intel_subgroups_short

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 13 05:35:48 PST 2017


Anastasia added inline comments.


================
Comment at: lib/Headers/opencl-c.h:16128
+#define intel_sub_group_block_read_ui    intel_sub_group_block_read
+#define intel_sub_group_block_read_ui2   intel_sub_group_block_read2
+#define intel_sub_group_block_read_ui4   intel_sub_group_block_read4
----------------
Any advantage to use these macros here? They will complicate understanding of errors because preprocessor will remove information about the original BIFs being called in the source code.


https://reviews.llvm.org/D39936





More information about the cfe-commits mailing list