bader added a comment. To clarify my last comment: I don't think we should define Image Query built-in functions only for 'read_only' access qualifier in OpenCL 1.x. It's just bug in OpenCL 1.x specifications. I think the intention was to provide these built-in functions for both 'read_only' and 'write_only' images. OpenCL 2.0 also provides 'read_write' flavors.
http://reviews.llvm.org/D18369 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits