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