Is there a way of knowing which indices a thread is assigned in a parallel openMP scope?
Is there a way of knowing which indices a thread is assigned in a parallel openMP scope?
I found this:omp_get_num_threads() - should do the trick!
Elysia - That's exactly what I planed to do. There is no 'automatic' way of knowing the intervals assigned in a parallel for loop in openmp, right?
OK! I'll wont look into it further, based on the assumption that you know what you're talking about. :-)
THANKS!