Grettings, i'm starting to learn about arrayfire and parallel computing and have a question about Gfors and the seq method.
The syntax for the Gfor is something like
Gfor( seq ii, N)
In a regular for loop, there is (usually) a int value , so inside the for i can access data in an array like V[0][i] and use that values in the computations. The question is how can i do the same ( get the integer values saved in some array ) in the GFor , obviuslly V[0][seq] not work.
Thanks for your answers :D !! /* sorry for my bad english / / edit the for is
for( int i = 0; i < q ; i++ ){
f(span,span,i) =shift( f(span,span,i) , V[1][i] , V[0][i], 0);
}
in the array V are the shifts i need for each slice.