[cfe-dev] OpenCL-specific image2d_t, image3d_t and sampler_t *revised*

Anton Lokhmotov Anton.Lokhmotov at arm.com
Fri Apr 1 10:30:05 PDT 2011


Please find a revised patch attached.  The patch conforms to latest versions
of the OpenCL specification, e.g. accepts both 'const' and 'constant' in
sampler variable declarations.

Anton.

> Date: Fri, 18 Mar 2011 17:27:33 -0000
> From: "Anton Lokhmotov" <Anton.Lokhmotov at arm.com>
> Subject: [cfe-dev] [PATCH] OpenCL-specific image2d_t,	image3d_t and
> 	sampler_t types
> To: <cfe-dev at cs.uiuc.edu>
> Message-ID: <000101cbe591$c4771bf0$4d6553d0$@Lokhmotov at arm.com>
> Content-Type: text/plain; charset="windows-1252"
> 
> We have implemented the OpenCL-specific image2d_t, image3d_t and
> sampler_t types as a separate type OpenCLOtherType, unlike in Tanya's 
> patch [1].  The OpenCL event_t will be supported by OpenCLOtherType as
well.
> 
> The OpenCL-specific types have many semantic restrictions (e.g. see [2]
> for restrictions on the sampler_t type).  We will supply shortly semantic
> checks in a separate patch (or update this one), as well as tests.
> 
> Please note that we assume support for keywords as in our previous
> patch [3].  We will revise the patch once Peter's changes [4] are merged 
> into the trunk.
> 
> Please review.
> 
> Anton.
> 
> [1] Tanya,
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-March/013865.html
> [2] Anton,
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-March/014118.html
> [3] Anton,
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-February/013463.html
> [4] Peter,
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-March/013921.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 00006-image-sampler.patch
Type: application/octet-stream
Size: 37826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110401/a3e761d1/attachment.obj>


More information about the cfe-dev mailing list