How to get more build info

Discussion created by Mikey on Jan 17, 2010
Latest reply on Jan 22, 2010 by Mikey

Hi. I have CL code that works fine on CPU and not work on GPU. My CL code got quiet big now so it's useless to post about 1k lines here...

I'm getting this output:

Stack dump:
0.      Program arguments: C:\Program Files (x86)\ATI Stream\bin\x86\llc -mcpu=atir770 -mattr=mwgs-3-256-1-1 -regalloc=linearscan -march=amdil C:\Users\Mikey\AppData\Local\Temp\OCLA304.tmp.bc -f -o C:\Users\Mikey\AppData\Local\Temp\OCLA304.tmp.il
1.      Running pass 'AMDIL Load Store Setup Pass' on function '@__OpenCL_main_kernel'
005410A5 (0x01B2E454 0x52DC4749 0x01B2E454 0x01A42F10)
00541162 (0x0080D8A0 0xFFFFFFFF 0x00000000 0x01B99FC4)
00598CD1 (0x01A6CBD8 0x0119FD84 0x0079CF29 0xFFFFFFFF)
00593D5B (0x01B2E400 0x00000000 0x01B2E4A0 0x01A42F10)
00541B44 (0x01A6FD4C 0x01B2E454 0x00000000 0x012F00B8)
Compilation log: C:\Users\Mikey\AppData\Local\Temp\OCLA17D.tmp.cl(956): warning
: null (zero)
          character in input line ignored

How can I find out what's wrong? Can I somehow tell compiler to not delete those files?


--- btw.

I have weird problem. At some point in code I have to put some meaningless function call (like cos(1)) - without this kernel returns wrong result...