Hello,
I have a 4000 line, 147KB OpenCL C program that I have removed all errors from. Now when it is compiling, it takes a very long time (much longer than a 25KB program). In fact, I have never seen it return from compilation yet.
Has there been any testing on the parser and code generator for such a large program?
(Note: the 25KB program only takes 268ms to compile)
Hello,
I have a 4000 line, 147KB OpenCL C program that I have removed all errors from. Now when it is compiling, it takes a very long time (much longer than a 25KB program). In fact, I have never seen it return from compilation yet.
Has there been any testing on the parser and code generator for such a large program?
(Note: the 25KB program only takes 268ms to compile)
I have attached a sample 92KB program. This compiles under gcc if you take out the__kernel and __global qualifiers. The names have been changed to try and protect our intellectual property (actually we were trying to compress the program to see if that helped).
generated.cu (91.2 KB)
I have attached a sample 92KB program. This compiles under gcc if you take out the__kernel and __global qualifiers. The names have been changed to try and protect our intellectual property (actually we were trying to compress the program to see if that helped).
Update: We found that the program has cycles in the dependency graph. The OpenCL compiler gives no error, it just sits there compiling forever.
Update: We found that the program has cycles in the dependency graph. The OpenCL compiler gives no error, it just sits there compiling forever.