search for: __builtin_ptx_read_tid_x

Displaying 2 results from an estimated 2 matches for "__builtin_ptx_read_tid_x".

2013 Mar 18
2
[LLVMdev] UNREACHABLE executed! error while trying to generate PTX
...0d131 main + 465 13 libc.so.6 0x00007f3855a7d4bd __libc_start_main + 253 14 llc 0x0000000000406e59 Stack dump: 0. Program arguments: llc nbody.kernel.ll -o nbody.kernel.ptx make: *** [nbody.kernel.ptx] Aborted I replaced the global indexes like for e.g threadIdx.x with __builtin_ptx_read_tid_x() and others. There are no problems in generating LLVM IR (i.e .ll). The error pops up while trying to generate PTX from the IR using llc. Any pointers on what might be going on here ? Will appreciate any help in going forward I have attached my program and observations in a README here. LLVM_...
2013 Mar 18
0
[LLVMdev] UNREACHABLE executed! error while trying to generate PTX
...0x00007f3855a7d4bd __libc_start_main + 253 > 14 llc 0x0000000000406e59 > Stack dump: > 0. Program arguments: llc nbody.kernel.ll -o nbody.kernel.ptx > make: *** [nbody.kernel.ptx] Aborted > > > I replaced the global indexes like for e.g threadIdx.x with > __builtin_ptx_read_tid_x() and others. There are no problems in generating > LLVM IR (i.e .ll). The error pops up while trying to generate PTX from the > IR using llc. > > Any pointers on what might be going on here ? Will appreciate any help in > going forward > > I have attached my program and observ...