FIAS . Impressum . Privacy

Need help with uchar support

paul elsner [please enable javascript to see the address]
Thu Nov 19 13:13:56 CET 2015


OK, thanks for that answer.

Currently I'm not sure if I need simd_cast for the project I have in mind,
but I need basic uchar support.

What would you say is the minimal requirement for uchar to become added to
master branch?

Paul

[please enable javascript to see the address]>:

> Hi Paul,
>
> On Tuesday, November 17, 2015 07:40:40 PM paul elsner wrote:
> > currently I try to add uchar support for Vc. See
> > paulelsner/add_uchar_support
> > I'm struggling with the simd_cast function. A lot of unit test targets
> does
> > not compile.
> >
> > Can someone take a look? I found simd_cast at many places, but I'm not
> sure
> > where to add uchar.
>
> Full simd_cast support is going to be a lot of work. :(
> simd_cast allows any cast from N Vector<T>/SimdArray<T, K> objects to M
> Vector<U>/SimdArray<U, L> objects. You'll need to add uchar simd_cast
> implementations to sse/simd_cast.h, avx/simd_cast.h, and mic/simd_cast.h.
> The
> scalar implementation, by default, already just calls static_cast. The
> SimdArray simd_casts are using the Vector<T, Abi> simd_cast
> implementations,
> so that should be covered as well.
>
> Cheers,
>   Matthias
>
> _______________________________________________
> Vc-devel mailing list
>[please enable javascript to see the address]
> https://compeng.uni-frankfurt.de/mailman/listinfo/vc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://compeng.uni-frankfurt.de/pipermail/vc-devel/attachments/20151119/09f7a60c/attachment.html>


More information about the Vc-devel mailing list
FIAS . Impressum . Privacy