i’m trying to put my runge kutta integration code on the gpu with opencl. here is an introduction of the algorithm http://en.wikipedia.org/wiki/Runge%E2%80%93Kutta_methods if you are not familiar with runge kutta
but that is not important. the point is, one of the expressions is this one:
where “result”, “pos”, “k1”, “k2” and “k3” are all vectors defined as this:
my code compiles, but has a runtime error, code -5 CL_OUT_OF_RESOURCES at this line.
i don’t know how i can solve this problem. and i don’t know what the problem is?