9 Replies Latest reply on Mar 19, 2014 4:06 PM by nou

    Maximum length for a for loop in a kernel?


      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