On Thu, Jun 26, 2014 at 9:56 AM, Aaron Ballman <[email protected]>
wrote:

> 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)

CUDA:
#pragma unroll n

Mark


> But I'm also curious as to
> Richard's take.
>
> ~Aaron
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to