[Libclc-dev] [PATCH] vload/vstore: Use casts instead of scalarizing everything in CLC version

Matt Arsenault Matthew.Arsenault at amd.com
Fri Aug 15 09:55:15 PDT 2014


On 08/15/2014 09:43 AM, Tom Stellard wrote:
> I don't think it's possible to implement a single store version of vec3 using
> OpenCL C, because if you cast a pointer as a vec3 type, clang will will
> try to store a vec4 value to it, because sizeof(vec3) == sizeof(vec4) in
> memory.
>
> -Tom
I guess it would be appropriate to write this one directly in IR then




More information about the Libclc-dev mailing list