[cfe-dev] C++ AMP

Manjunath Kudlur keveman at gmail.com
Mon May 14 16:33:29 PDT 2012


>
> Out of curiosity, what does 'supporting AMP' mean in this context.
> Aside from the tile_static storage-class specifier and the
> restrict(amp) clause, is the rest of it just a template library, or
> would other frontend modifications be necessary?
>
>
AMP defines a set of rules for functions decorated with restrict(amp)
clause. I would think checking for those rules is frontend's job. Now, most
of those rules arise because AMP is targeting DirectX. If the Linux version
is targeting OpenCL, then some of those rules could go away, but I would
still think some work has to be done in the frontend for checking target
compatibility.

Manjunath



>  -Hal
>
> >
> > John Bytheway
> >
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
>
> --
> Hal Finkel
> Postdoctoral Appointee
> Leadership Computing Facility
> Argonne National Laboratory
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120514/7d4b7ced/attachment.html>


More information about the cfe-dev mailing list