cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

bubu
Adept II

Limit of branch levels?

Is there any limit in the number of nested IFs we can use in your OpenCL implementation?

 

I ask this because if I use more than 6 the SKA tool starts to output N/A values plus my kernels start to hang...

 

Thanks.

0 Likes
2 Replies
nou
Exemplar

from profilec doc.

FCStacks - The number of flow control stack size used by the kernel (only for GPU device). This number may affect the number of wavefronts in-flight. To reduce the stack size, reduce the amount of flow control nesting in the kernel.

0 Likes

bubu,

I donlt think it should return N/a in any case. Can you please provide a test case.

0 Likes