[PATCH] D33945: [OpenCL] Add support for missing sub_group functions.
Joey Gouly via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 6 09:12:15 PDT 2017
joey created this revision.
Herald added subscribers: Anastasia, yaxunl.
This adds get_kernel_max_sub_group_size_for_ndrange and get_kernel_sub_group_count_for_ndrange.
Note this also changes err_opencl_requires_extension to print the name of the function that the diagnostic is warning about.
https://reviews.llvm.org/D33945
Files:
CodeGen/CGBuiltin.cpp
CodeGenOpenCL/cl20-device-side-enqueue.cl
CodeGenOpenCL/pipe_builtin.cl
Sema/Sema.cpp
Sema/SemaChecking.cpp
SemaOpenCL/cl20-device-side-enqueue.cl
SemaOpenCL/extension-begin.cl
SemaOpenCL/invalid-pipe-builtin-cl2.0.cl
SemaOpenCL/sub-group-bifs.cl
clang/Basic/Builtins.def
clang/Basic/DiagnosticSemaKinds.td
clang/Sema/Sema.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33945.101576.patch
Type: text/x-patch
Size: 22696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170606/84e8e1a8/attachment-0001.bin>
More information about the cfe-commits
mailing list