[PATCH] Add support for CUDA unroll pragma
meheff at google.com
Thu Jun 26 10:00:16 PDT 2014
On Thu, Jun 26, 2014 at 9:56 AM, Aaron Ballman <aaron.ballman at gmail.com>
> I agree with Richard's opinion for the invented syntax, but this is a
> bit different since this syntax is specified by NVidia and supported
> on compilers other than clang. I am okay with this pragma not being in
> the clang namespace since that makes the code compatible with other
> compilers, presuming that clang's behavior matches that of other
> compilers implementing the same syntax.
One clarification on support in other compilers. Alas, Intel and IBM have
slightly different syntax for the case where an unroll count is specified:
IBM and Intel:
#pragma unroll n
> But I'm also curious as to
> Richard's take.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits