I test the number of
threads at the beginning of each pragma region by omp_get_max_threads()
The omp_get_max_threads routine returns an upper bound on the number of
threads that could be used to form a new team if a parallel region without a
num_threads clause were encountered after execution returns from this routine.
However, is there a way of enforcing
the maximum number? I find it strange using a 6 core processor where the system
drops the number of threads to 4 (or less)...
Users browsing this forum: Yahoo [Bot] and 2 guests