pomdps
2009-06-24 08:46:04 UTC
Dear All,
In my program, I have to summate a vector in a for loop like the
following:
.....
double sum = 0;
for(int i=0; i< 100; i++)
sum += vector[i];
.....
Is it possible to implement this for loop in a parallel way?
Thanks for your help!
In my program, I have to summate a vector in a for loop like the
following:
.....
double sum = 0;
for(int i=0; i< 100; i++)
sum += vector[i];
.....
Is it possible to implement this for loop in a parallel way?
Thanks for your help!