I am a newbie in cuda for Java. I have a simple task to do: parallelize a for loop.
my for loop is pretty simple, I have an array of objects and I have to perform some "evaluation" to each object in the array:
for (int i=0; i < vec.length; i++){
int val = evaluate((vec[i]));
}
I was wondering I can I parallelize this. I only found examples of complex things in JCuda.
Thanks for helping
Maria