[PATCH] OpenCL: Add new types for OpenCL 2.0

Pedro Ferreira arkangath at gmail.com
Thu Jun 11 00:18:50 PDT 2015


Hi all,

This patch adds the new OpenCL types for 2.0 described at
https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/otherDataTypes.html

I also opened https://llvm.org/bugs/show_bug.cgi?id=23794 for this. I keep
forgetting you prefer patches sent to this mailing list.
This also adds lldb entries (fixes switch warnings).

The types are:

image2d_depth_t
image2d_array_depth_t
image2d_msaa_t
image2d_array_msaa_t
image2d_msaa_depth_t
image2d_array_msaa_depth_t
queue_t
ndrange_t
clk_event_t
reserve_id_t

let me know if something looks wrong,
Pedro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150611/83976439/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lldb-ocl2.patch
Type: text/x-patch
Size: 5147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150611/83976439/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-ocl2.patch
Type: text/x-patch
Size: 31486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150611/83976439/attachment-0001.bin>


More information about the cfe-commits mailing list