cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

nnsan
Journeyman III

Limits on IL kernel

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.

 

0 Likes
2 Replies
gaurav_garg
Adept I

What is your driver version? There was a regression with Catalyst 9.4 that was causing this issue.

0 Likes

Thanks for you suggesion. I have used Catalyst 9.3 for CAL 1.4 setup.

Now, I install Catallyst 9.5 on a different machine along with CAL 1.4.  Still, calclCompile() crashes if I feed a kernel with high register usage.

0 Likes