The public comment period closed January 31, 2008. This forum is now locked (read only).
This post is about omp_set_max_active_levels() and OMP_MAX_ACTIVE_LEVELS with non-positive integer.
void omp_set_max_active_levels() runtime routine
page 121. "If the number of parallel levels requested is not a positive integer, the call has no effect."
OMP_MAX_ACTIVE_LEVELS env var
page 144. "The behavior of the program is implementation defined ... if the value is not a positive integer."
It looks like it could make sense for the Specification to be consistent and to declare consistent behavior in case of “non-positive integer” for both the env var and the runtime routine. For example, as “implementation defined”.
The reference close precedent.
Compare with what the Specification says about omp_set_num_threads() and OMP_NUM_THREADS.
page 104. "... or else the behavior of this routine is implementation defined".
page 141. "The behavior of the program is implementation defined ... if the value is not a positive integer."
Sounds good, I'll add it to the list.
- Posts: 135
- Joined: Sun Oct 21, 2007 4:58 pm
- Location: OpenMP ARB
Return to Draft 3.0 Public Comment
Who is online
Users browsing this forum: No registered users and 0 guests