Anastasia added a comment.

In https://reviews.llvm.org/D23086#507360, @yaxunl wrote:

> In https://reviews.llvm.org/D23086#507203, @yaxunl wrote:
>
> > How about assuming ndrange_t is a struct type defined by user and identify 
> > it by struct type name in Clang? This gives user freedom of implementing it 
> > differently than SPIR. In opencl-c.h define it as a struct type as SPIR 
> > required.
>
>
> Anastasia, are you OK with this approach? Thanks.


Sure. It seems there is no better solution to this.


Repository:
  rL LLVM

https://reviews.llvm.org/D23086



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to