This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR37935 - libgomp.texi updates for OpenMP v3


On Sat, Nov 01, 2008 at 09:45:17PM +0100, Tobias Burnus wrote:
> -Unique thread identification number. In a sequential parts of the program, 
> -@code{omp_get_thread_num} always returns 0. In parallel regions the return
> -value varies from 0 to @code{omp_get_max_threads}-1 inclusive. The return 
> +Unique thread identification number with in the current team.

s/with in/within/

>  @end table
>  
>  
>  
> +@node omp_set_schedule
> +@section @code{omp_set_schedule} -- Set the runtime scheduling method
> +@table @asis
> +@item @emph{Description}:
> +Sets the runtime scheduling method. The @var{kind} argument can have the
> +value @code{omp_sched_static}, @code{omp_sched_dynamic},
> +@code{opm_sched_guided} or @code{auto}. Except for @code{auto}, the chunk

s/auto/omp_sched_auto/g

> +size is set to the value of @var{modifier} if positive or to the default
> +value if zero or negative. For @code{auto} the @var{modifier} argument is
> +ignored.

Again.

> +@node OMP_MAX_ACTIVE_LEVELS
> +@section @env{OMP_MAX_ACTIVE_LEVELS} -- Set the maximal number of nested parallel regions
> +@cindex Environment Variable
> +@table @asis
> +@item @emph{Description}:
> +Specifies the initial value for the maximal number of nested parallel
> +regions. The value of this variable shall be positive integer.
> +
> +@c FIXME: What is the default?

The default is no limit.

> +@node OMP_STACKSIZE
> +@section @env{OMP_STACKSIZE} -- Set default thread stack size
> +@cindex Environment Variable
> +@table @asis
> +@item @emph{Description}:
> +Set the default thread stack size in kilobytes, unless the number
> +is suffixed by @code{B}, @code{K}, @code{M} or @code{G}, in which
> +case the size is, respectively, in bytes, kilobytes, megabytes
> +or gigabytes. This is in opposition to @code{pthread_attr_setstacksize}
> +which gets the number of bytes as an argument. If the stacksize can not

"is in opposition to" doesn't sound good to me in this case, but I'm not
a native speaker, so I could be wrong.

> +@node OMP_THREAD_LIMIT
> +@section @env{OMP_THREAD_LIMIT} -- Set the maximal number of threads
> +@cindex Environment Variable
> +@table @asis
> +@item @emph{Description}:
> +Specifies the number of threads to use for the whole program. The
> +value of this variable shall be positive integer.
> +
> +@c FIXME: What is the default?

The default is no limit.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]