[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gomp-discuss] Organization of libgomp source code
From: |
Biagio Lucini |
Subject: |
Re: [Gomp-discuss] Organization of libgomp source code |
Date: |
Tue, 18 Feb 2003 17:11:04 +0000 (GMT) |
On 18 Feb 2003, Steven Bosscher wrote:
> I was more thinking:
> a) At startup (initialization), read the environment, and
> set the default if the environment variable is not set.
> b) The omp_set_num_threads () (?) function can adjust the
> default at runtime.
> c) Use the clause value for the OpenMP functions as required.
> If the clause is absent, the compiler sets the num_threads
> value to, say, -1, and the functions use the default.
>
> So, the defaults are global variables, and there is a local value for
> each parallel region, which is either the default, or the number from
> the num_threads clause.
>
You won't believe that, but apart from the details of the implementation I
was trying to say almost the same things. Thanks for having put everything
in better understandable words :-)
Biagio
- [Gomp-discuss] Source !, (continued)
- Re: [Gomp-discuss] Organization of libgomp source code, Lars Segerlund, 2003/02/18
- Re: [Gomp-discuss] Organization of libgomp source code, Steven Bosscher, 2003/02/18
- Re: [Gomp-discuss] Organization of libgomp source code, Lars Segerlund, 2003/02/18
- Re: [Gomp-discuss] Organization of libgomp source code, Biagio Lucini, 2003/02/18
- Re: [Gomp-discuss] Organization of libgomp source code, Biagio Lucini, 2003/02/18
- RE: [Gomp-discuss] Organization of libgomp source code, Scott Robert Ladd, 2003/02/18
- RE: [Gomp-discuss] Organization of libgomp source code, Biagio Lucini, 2003/02/18
- Re: [Gomp-discuss] Organization of libgomp source code, Lars Segerlund, 2003/02/19
- Re: [Gomp-discuss] Organization of libgomp source code,
Biagio Lucini <=
- RE: [Gomp-discuss] Organization of libgomp source code, Scott Robert Ladd, 2003/02/17
- Re: [Gomp-discuss] Organization of libgomp source code, Lars Segerlund, 2003/02/17