<div dir="ltr">Yes, this is supported through metadata.  An example usage of these annotations is given in the test/CodeGen/NVPTX/annotations.ll unit test.  I'll try to remember to add this to the NVPTX documentation I'm putting together at <a href="http://llvm.org/docs/NVPTXUsage.html">http://llvm.org/docs/NVPTXUsage.html</a>.<br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 1, 2013 at 8:06 AM, Dmitry Mikushin <span dir="ltr"><<a href="mailto:dmitry@kernelgen.org" target="_blank">dmitry@kernelgen.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br><br>Is anybody working on CUDA launch bounds support?<br><br>On PTX level, __attribute__((launch_bounds(MAX_THREADS_PER_BLOCK, MIN_BLOCKS_PER_MP))) should be emitted into .maxntid / .minnctapersm specification.<br>

<br>Thanks,<br>- D.<br>
</blockquote></div><br><br clear="all"><br>-- <br><br><div>Thanks,</div><div><br></div><div>Justin Holewinski</div>
</div>