[PATCH] D18051: [CUDA] Provide CUDA's vector types implemented using clang's vector extension.

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 10 16:38:21 PST 2016


There were ambiguities in overload resolution between vector types and
their base types. I.e. if I had

void foo(int);
void foo(int3);

then call foo(3) was ambiguous.
It wasn't clear whether this extension is supposed to work in C++ at all.





On Thu, Mar 10, 2016 at 4:05 PM, Hal Finkel <hfinkel at anl.gov> wrote:

> hfinkel added a subscriber: hfinkel.
> hfinkel added a comment.
>
> In http://reviews.llvm.org/D18051#372490, @tra wrote:
>
> > Ugh. Found more problems with using vector types in C++. Abandoning the
> idea.
>
>
> I'm curious, what problems?
>
>
> http://reviews.llvm.org/D18051
>
>
>
>


-- 
--Artem Belevich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160310/a345dabd/attachment.html>


More information about the cfe-commits mailing list