[PATCH] D23086: [OpenCL] Generate concrete struct type for ndrange_t

David Majnemer via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 5 11:49:41 PDT 2016


majnemer added a comment.

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.


That sounds fine to me.


Repository:
  rL LLVM

https://reviews.llvm.org/D23086





More information about the cfe-commits mailing list