<div dir="ltr"><font face="arial, helvetica, sans-serif">Hi,</font><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">I am just following up on my question.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Meanwhile I looked up the</font> '<span style="color:rgb(0,0,0);font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:13.3px">include/llvm/IR/IntrinsicsNVVM.td' </span><span style="color:rgb(0,0,0);font-size:13.3px"><font face="arial, helvetica, sans-serif">and found there is a definition for</font></span><span style="color:rgb(0,0,0);font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:13.3px"> smid (</span><span class="gmail-k" style="font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:0.95em;color:rgb(0,112,32);font-weight:bold">declare</span><span style="background-color:rgb(248,248,248);color:rgb(0,0,0);font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:0.95em"> </span><span class="gmail-k" style="font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:0.95em;color:rgb(0,112,32);font-weight:bold">i32</span><span style="background-color:rgb(248,248,248);color:rgb(0,0,0);font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:0.95em"> </span><span class="gmail-vg" style="font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:0.95em;color:rgb(187,96,213)">@llvm.nvvm.read.ptx.sreg.smid</span><span class="gmail-vg" style="font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:0.95em"><font color="#000000">)</font></span><span style="color:rgb(0,0,0);font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:13.3px">.</span></div><div><span style="color:rgb(0,0,0);font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:13.3px"><br></span></div><div><font color="#000000"><span style="font-size:13.3px"><font face="arial, helvetica, sans-serif">At this <a href="http://llvm.org/docs/NVPTXUsage.html">page</a>, there is code for</font><font face="consolas, deja vu sans mono, bitstream vera sans mono, monospace"> kernel.ll</font><font face="arial, helvetica, sans-serif">. I am lost here because this looks like LLVM code completely and not inline asm.</font></span></font></div><div><font color="#000000" face="consolas, deja vu sans mono, bitstream vera sans mono, monospace"><span style="font-size:13.3px"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:13.3px">I also tried a cpp-only program with simple asm (so now this is gcc compatible code) and found that LLVM can compile it (may be this was a too simplified test program).</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:13.3px"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:13.3px">Can someone please point me in the right direction?</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:13.3px"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:13.3px">Thank you.</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:13.3px"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:13.3px">-Guru</span></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 14, 2016 at 10:20 AM, Gurunath Kadam <span dir="ltr"><<a href="mailto:gurunath.kadam@gmail.com" target="_blank">gurunath.kadam@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"><font face="arial, helvetica, sans-serif">Okay, so as I understand, LLVM inline assembly style is <b>different than</b> the GCC/NVPTX assembly style. So as per LLVM language reference manual following constraint codes are supported:</font><div><br></div><div><ul class="m_-5081571260091876012gmail-simple" style="color:rgb(0,0,0);font-family:"lucida grande","lucida sans unicode",geneva,verdana,sans-serif;font-size:14px"><li><code class="m_-5081571260091876012gmail-docutils m_-5081571260091876012gmail-literal" style="font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:0.95em"><span class="m_-5081571260091876012gmail-pre">b</span></code>: A 1-bit integer register.</li><li><code class="m_-5081571260091876012gmail-docutils m_-5081571260091876012gmail-literal" style="font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:0.95em"><span class="m_-5081571260091876012gmail-pre">c</span></code> or <code class="m_-5081571260091876012gmail-docutils m_-5081571260091876012gmail-literal" style="font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:0.95em"><span class="m_-5081571260091876012gmail-pre">h</span></code>: A 16-bit integer register.</li><li><code class="m_-5081571260091876012gmail-docutils m_-5081571260091876012gmail-literal" style="font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:0.95em"><span class="m_-5081571260091876012gmail-pre">r</span></code>: A 32-bit integer register.</li><li><code class="m_-5081571260091876012gmail-docutils m_-5081571260091876012gmail-literal" style="font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:0.95em"><span class="m_-5081571260091876012gmail-pre">l</span></code> or <code class="m_-5081571260091876012gmail-docutils m_-5081571260091876012gmail-literal" style="font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:0.95em"><span class="m_-5081571260091876012gmail-pre">N</span></code>: A 64-bit integer register.</li><li><code class="m_-5081571260091876012gmail-docutils m_-5081571260091876012gmail-literal" style="font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:0.95em"><span class="m_-5081571260091876012gmail-pre">f</span></code>: A 32-bit float register.</li><li><code class="m_-5081571260091876012gmail-docutils m_-5081571260091876012gmail-literal" style="font-family:consolas,"deja vu sans mono","bitstream vera sans mono",monospace;font-size:0.95em"><span class="m_-5081571260091876012gmail-pre">d</span></code>: A 64-bit float register.</li></ul><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px">Now, I am just wondering if there are equivalent constraints for %smid and %warpid? As per the NVIDIA <a href="http://docs.nvidia.com/cuda/cuda-c-programming-guide/#sm-id-and-warp-id" target="_blank">documentation</a> it is unsafe to rely on this information provided by %smid and %warpid, but for compiling an existing cuda code I will need to do that.</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px">Any suggestions? Work in progress?</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px">Thank you.</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px">-Guru</span></font></div><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 14, 2016 at 8:53 AM, Gurunath Kadam <span dir="ltr"><<a href="mailto:gurunath.kadam@gmail.com" target="_blank">gurunath.kadam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote">Hi,</div><div class="gmail_quote"><br></div><div class="gmail_quote">I am sorry for sending this query again here, but maybe I sent it to wrong list yesterday.<br><br><div dir="ltr">I am trying to compile<a href="http://iss.ices.utexas.edu/?p=projects/galois/lonestargpu/download" target="_blank"> LonestarGPU-rev2.0</a> benchmark suite with LLVM/CLANG.<div><br></div><div>This suite has a following piece of code (more info <a href="https://devtalk.nvidia.com/default/topic/481465/cuda-programming-and-performance/any-way-to-know-on-which-sm-a-thread-is-running-/2/?offset=21#4996171" target="_blank">here</a>):</div><div><br></div><div><li class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-L0" style="margin:0px 0px 0px 30px;padding:0px;outline:none;color:rgb(102,102,102);font-family:monospace;font-size:14px;white-space:pre-wrap"><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-kwd" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,136)">static</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> __device__ </span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-kwd" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,136)">uint</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> get_smid</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">(</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-kwd" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,136)">void</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">)</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> </span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">{</span><br style="margin:0px;padding:0px;outline:none"></li><li class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-L1" style="margin:0px 0px 0px 30px;padding:0px;outline:none;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:rgb(238,238,238);color:rgb(102,102,102);font-family:monospace;font-size:14px;white-space:pre-wrap"><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> </span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-kwd" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,136)">uint</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> ret</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">;</span><br style="margin:0px;padding:0px;outline:none"></li><li class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-L2" style="margin:0px 0px 0px 30px;padding:0px;outline:none;color:rgb(102,102,102);font-family:monospace;font-size:14px;white-space:pre-wrap"><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> </span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-kwd" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,136)">asm</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">(</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-str" style="margin:0px;padding:0px;outline:none;color:rgb(0,136,0)">"mov.u32 %0, %smid;"</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> </span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">:</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> </span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-str" style="margin:0px;padding:0px;outline:none;color:rgb(0,136,0)">"=r"</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">(</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)">ret</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">)</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> </span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">);</span><br style="margin:0px;padding:0px;outline:none"></li><li class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-L3" style="margin:0px 0px 0px 30px;padding:0px;outline:none;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:rgb(238,238,238);color:rgb(102,102,102);font-family:monospace;font-size:14px;white-space:pre-wrap"><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> </span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-kwd" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,136)">return</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> ret</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">;</span><br style="margin:0px;padding:0px;outline:none"></li><li class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-L4" style="margin:0px 0px 0px 30px;padding:0px;outline:none;color:rgb(102,102,102);font-family:monospace;font-size:14px;white-space:pre-wrap"><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">}</span></li><font color="#666600" face="arial, helvetica, sans-serif"><span style="font-size:14px;white-space:pre-wrap"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px;white-space:pre-wrap">The original make file has nvcc compiler with a flag -Xptxas -v. It compiles with nvcc.</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px;white-space:pre-wrap"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px;white-space:pre-wrap">LLVM has -Xcuda-ptxas <arg>, which I believe is the comparable command for compiling PTX code. I get following error when I try compiling (clang 4.0).:</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px;white-space:pre-wrap"><br></span></font></div><div><ol class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-linenums" style="margin:5px 0px 5px 11px;padding:0px;outline:none;color:rgb(102,102,102);font-family:monospace;font-size:14px;white-space:pre-wrap"><li class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-L0" style="margin:0px 0px 0px 30px;padding:0px;outline:none"><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">../../</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)">include</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">/</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)">cutil_subset</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">.</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)">h</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">:</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-lit" style="margin:0px;padding:0px;outline:none;color:rgb(0,102,102)">2<wbr>3</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">:</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-lit" style="margin:0px;padding:0px;outline:none;color:rgb(0,102,102)">25</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">:</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> error</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">:</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> invalid </span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">%</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> escape </span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-kwd" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,136)">in</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> </span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-kwd" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,136)">inline</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> assembly </span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-kwd" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,136)">string</span><br style="margin:0px;padding:0px;outline:none"></li><li class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-L1" style="margin:0px 0px 0px 30px;padding:0px;outline:none;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:rgb(238,238,238)"><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> </span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-kwd" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,136)">asm</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">(</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-str" style="margin:0px;padding:0px;outline:none;color:rgb(0,136,0)">"mov.u32 %0, %smid;"</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> </span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">:</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> </span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-str" style="margin:0px;padding:0px;outline:none;color:rgb(0,136,0)">"=r"</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">(</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)">ret</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">)</span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pln" style="margin:0px;padding:0px;outline:none;color:rgb(0,0,0)"> </span><span class="m_-5081571260091876012gmail-m_-8083179215784291612m_193254503298502365gmail-pun" style="margin:0px;padding:0px;outline:none;color:rgb(102,102,0)">);</span></li></ol><div><font color="#666600" face="monospace"><span style="font-size:14px;white-space:pre-wrap"><br></span></font></div></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px;white-space:pre-wrap">It points to %smid.</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px;white-space:pre-wrap"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px;white-space:pre-wrap">I have been trying to figure out what is this error is but NVIDIA PTX has <a href="http://docs.nvidia.com/cuda/cuda-c-programming-guide/" target="_blank">this</a>.</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px;white-space:pre-wrap"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px;white-space:pre-wrap">Is this a bug or something?</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px;white-space:pre-wrap"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px;white-space:pre-wrap">Thanks.</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px;white-space:pre-wrap"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px;white-space:pre-wrap">-Guru</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px;white-space:pre-wrap"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:14px;white-space:pre-wrap"><br></span></font></div></div>
</div><br></div>
</blockquote></div><br></div></div></div></div></div>
</blockquote></div><br></div>