[Bug 267750] omp_set_num_threads fails to set number of threads

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 14 Nov 2022 06:55:45 UTC

Daniel Tameling <tamelingdaniel@gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |tamelingdaniel@gmail.com

--- Comment #1 from Daniel Tameling <tamelingdaniel@gmail.com> ---
This is in accordance with the specification. It says: "The omp_get_num_threads
routine returns the number of threads in the team that is executing the
parallel region to which the routine region binds. If called from the
sequential part of a program, this routine returns 1."

See also
for a similar discussion.

You are receiving this mail because:
You are the assignee for the bug.