azabaznov accepted this revision.
azabaznov added a comment.

Looks good to me. Thanks!

> Without this change, opencl-c.h cannot be parsed with -cl-std=CL3.0 as the 
> write_only image3d_t type is not enabled.

This should be fixed in the following up patches to check for 
`__opencl_c_3d_image_writes` feature or either for both:  
`__opencl_c_3d_image_writes`  and  `cl_khr_3d_image_writes`  (in OpenCL C 3.0 
mode). But I think it's OK to have this check for now.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99425/new/

https://reviews.llvm.org/D99425

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

Reply via email to