I have encounterd a problem compiling IL kernel that my program generates. calclCompile() crashes (specifically, segmentation fault) with a kernel that either uses many GPRs or is long.
For the number of registers, 128 seems to be the limit but calclCompile() should not crash even when register spills.
For the size of a kernel, it crash when the number of arithmetic operations more than roughly 4000. I suspect that there is a limit on the code size of 4096, is this right? Or is there any mention to the limit in documents? In this case, it is also not good that calclCompile() carshes without any message.
I use CAL 1.2.1 and 1.4 on Linux (x86_64). Both version crashes.