<div dir="ltr">That particular error is fixed in trunk, but with your code I'm now hitting a new issue.  I'll get the fix in soon.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 22, 2013 at 1:08 AM, upit <span dir="ltr"><<a href="mailto:uday_pitambare@yahoo.com" target="_blank">uday_pitambare@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Well, I tried the command line given by you and I get the following error<br>
<br>
clang++ <a href="http://nbody.kernel.cu" target="_blank">nbody.kernel.cu</a> -Xclang -fcuda-is-device<br>
-I/home/upitamba/llvm-3.2.src/tools/clang/test/SemaCUDA/ -Xclang -triple<br>
-Xclang nvptx64 -Xclang -target-cpu -Xclang sm_10 -S<br>
<br>
fatal error: error in backend: Cannot select: 0x334a870: v4f32 =<br>
NVPTXISD::MoveParam 0x334a770 [ORD=1] [ID=22]<br>
  0x334a770: v4f32 = TargetExternalSymbol'.PARAM0' [ID=1]<br>
In function: computeBodyAccel<br>
<br>
Am I doing anything wrong here ?<br>
<br>
Attached my new  <a href="http://nbody.kernel.cu" target="_blank">nbody.kernel.cu</a><br>
<<a href="http://llvm.1065342.n5.nabble.com/file/n56141/nbody.kernel.cu" target="_blank">http://llvm.1065342.n5.nabble.com/file/n56141/nbody.kernel.cu</a>>  .cu here<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://llvm.1065342.n5.nabble.com/UNREACHABLE-executed-error-while-trying-to-generate-PTX-tp56026p56141.html" target="_blank">http://llvm.1065342.n5.nabble.com/UNREACHABLE-executed-error-while-trying-to-generate-PTX-tp56026p56141.html</a><br>

<div class="HOEnZb"><div class="h5">Sent from the LLVM - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><br><div>Thanks,</div><div><br></div><div>Justin Holewinski</div>
</div>