AnsweredAssumed Answered

Maximum length for a for loop in a kernel?

Question asked by richard_vega on Mar 17, 2014
Latest reply on Mar 19, 2014 by nou

Is there an upper limit on the length of a for loop in a OpenCL kernel? I am wondering because I have a kernel that needs to run a very long for loop, but when the length of the loop exceeds about 100,000,000, my whole dang computer crashes. The internals of the loop are very simple and the code is producing the correct results for lower loop bounds. Any help would be greatly appreciated. Until then, I will simply try to find a clever work around to reduce the length of the loop.

                                                                                                                                                                          - Richard Vega 

Outcomes