upit
2013-Mar-22 05:08 UTC
[LLVMdev] UNREACHABLE executed! error while trying to generate PTX
Well, I tried the command line given by you and I get the following error clang++ nbody.kernel.cu -Xclang -fcuda-is-device -I/home/upitamba/llvm-3.2.src/tools/clang/test/SemaCUDA/ -Xclang -triple -Xclang nvptx64 -Xclang -target-cpu -Xclang sm_10 -S fatal error: error in backend: Cannot select: 0x334a870: v4f32 NVPTXISD::MoveParam 0x334a770 [ORD=1] [ID=22] 0x334a770: v4f32 = TargetExternalSymbol'.PARAM0' [ID=1] In function: computeBodyAccel Am I doing anything wrong here ? Attached my new nbody.kernel.cu <http://llvm.1065342.n5.nabble.com/file/n56141/nbody.kernel.cu> .cu here -- View this message in context: http://llvm.1065342.n5.nabble.com/UNREACHABLE-executed-error-while-trying-to-generate-PTX-tp56026p56141.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
Justin Holewinski
2013-Mar-24 00:43 UTC
[LLVMdev] UNREACHABLE executed! error while trying to generate PTX
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. On Fri, Mar 22, 2013 at 1:08 AM, upit <uday_pitambare at yahoo.com> wrote:> Well, I tried the command line given by you and I get the following error > > clang++ nbody.kernel.cu -Xclang -fcuda-is-device > -I/home/upitamba/llvm-3.2.src/tools/clang/test/SemaCUDA/ -Xclang -triple > -Xclang nvptx64 -Xclang -target-cpu -Xclang sm_10 -S > > fatal error: error in backend: Cannot select: 0x334a870: v4f32 > NVPTXISD::MoveParam 0x334a770 [ORD=1] [ID=22] > 0x334a770: v4f32 = TargetExternalSymbol'.PARAM0' [ID=1] > In function: computeBodyAccel > > Am I doing anything wrong here ? > > Attached my new nbody.kernel.cu > <http://llvm.1065342.n5.nabble.com/file/n56141/nbody.kernel.cu> .cu here > > > > > > > -- > View this message in context: > http://llvm.1065342.n5.nabble.com/UNREACHABLE-executed-error-while-trying-to-generate-PTX-tp56026p56141.html > Sent from the LLVM - Dev mailing list archive at Nabble.com. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-- Thanks, Justin Holewinski -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130323/38b0824e/attachment.html>
Justin Holewinski
2013-Mar-25 17:09 UTC
[LLVMdev] UNREACHABLE executed! error while trying to generate PTX
This file should compile fine now on trunk. On Sat, Mar 23, 2013 at 8:43 PM, Justin Holewinski < justin.holewinski at gmail.com> wrote:> 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. > > > On Fri, Mar 22, 2013 at 1:08 AM, upit <uday_pitambare at yahoo.com> wrote: > >> Well, I tried the command line given by you and I get the following error >> >> clang++ nbody.kernel.cu -Xclang -fcuda-is-device >> -I/home/upitamba/llvm-3.2.src/tools/clang/test/SemaCUDA/ -Xclang -triple >> -Xclang nvptx64 -Xclang -target-cpu -Xclang sm_10 -S >> >> fatal error: error in backend: Cannot select: 0x334a870: v4f32 >> NVPTXISD::MoveParam 0x334a770 [ORD=1] [ID=22] >> 0x334a770: v4f32 = TargetExternalSymbol'.PARAM0' [ID=1] >> In function: computeBodyAccel >> >> Am I doing anything wrong here ? >> >> Attached my new nbody.kernel.cu >> <http://llvm.1065342.n5.nabble.com/file/n56141/nbody.kernel.cu> .cu here >> >> >> >> >> >> >> -- >> View this message in context: >> http://llvm.1065342.n5.nabble.com/UNREACHABLE-executed-error-while-trying-to-generate-PTX-tp56026p56141.html >> Sent from the LLVM - Dev mailing list archive at Nabble.com. >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> > > > > -- > > Thanks, > > Justin Holewinski >-- Thanks, Justin Holewinski -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130325/71eae99b/attachment.html>
Possibly Parallel Threads
- [LLVMdev] UNREACHABLE executed! error while trying to generate PTX
- [LLVMdev] UNREACHABLE executed! error while trying to generate PTX
- [LLVMdev] UNREACHABLE executed! error while trying to generate PTX
- [LLVMdev] UNREACHABLE executed! error while trying to generate PTX
- [LLVMdev] UNREACHABLE executed! error while trying to generate PTX