<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 17 December 2013 16:35, David Tweed <span dir="ltr"><<a href="mailto:david.tweed@gmail.com" target="_blank">david.tweed@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote"><div>I'll note that all those issues primarily of big import to a back-end (or possibly a complete compiler). The situation with common, open-source OpenCL is it is primarily in terms of modifications to the clang front-end to be able to generate fully accurate AST's for OpenCL and ot issue correct and informative diagnostics. It would be useful to see what sort of consensus the community arises as to what ought to be being done for this case: for a front end I suspect it's going to be generating a lot more test cases to ensure features can only be used where the OpenCL specifications allow them to be.</div>
</div></div></div></div></blockquote><div></div></div><br></div><div class="gmail_extra">AFAIK OpenCL doesn't have a concrete specification, or the one you have is not concrete enough in some places, and too concrete in others.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">You can create perfectly valid Dwarf that no debugger in the world can digest. You can create perfectly valid ELF objects that won't link with others. You can parse C++ into a parfectly valid AST, but if you can't build proper (target-specific) IR from it, it's useless.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">For instance, if there is an official (Kronos-certified) parser that tells you whether a piece of OpenCL IR/AST conforms to the standard, that's a starter. If there is an emulator that executes OpenCL on the CPU as if it were some GPU, that's better. If there is a standard CPU implementation that will be actually used in production (like the Intel one), that's a lot better.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">But without any of these, I can't see how can we say something is "supported".</div><div class="gmail_extra"><br></div><div class="gmail_extra">cheers,</div>
<div class="gmail_extra">--renato</div></div>