Skip to content

Commit f91a38d

Browse files
committed
more POD clean up
1 parent 5c0b3e6 commit f91a38d

File tree

1 file changed

+15
-19
lines changed

1 file changed

+15
-19
lines changed

lib/OpenMP/Simple.pm

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use strict;
44
use warnings;
55
use Alien::OpenMP;
66

7-
our $VERSION = q{0.2.2};
7+
our $VERSION = q{0.2.3};
88

99
# This module is a wrapper around a ".h" file that is injected into Alien::OpenMP
1010
# via Inline:C's AUTO_INCLUDE feature. This header file constains C macros for reading
@@ -137,14 +137,14 @@ one to use when starting with this module. See the L<SYNOPSIS> example.
137137
=head3 C<PerlOMP_UPDATE_WITH_ENV__NUM_THREADS>
138138
139139
Updates the OpenMP runtime with the value of the environmental
140-
variable, C<$ENV{OMP_NUM_THREADS}>, which is managed via
141-
C<< OpenMP::Environment->omp_num_threads[int numThreads]); >>.
140+
variable, C<$ENV{OMP_NUM_THREADS}>, which is meant to be managed with
141+
L<OpenMP::Environment>.
142142
143143
=head3 C<PerlOMP_UPDATE_WITH_ENV__DEFAULT_DEVICE>
144144
145145
Updates the OpenMP runtime with the value of the environmental
146-
variable, C<$ENV{OMP_DEFAULT_DEVICE}>, which is managed
147-
via C<< OpenMP::Environment->omp_default_device([int deviceNo]); >>.
146+
variable, C<$ENV{OMP_DEFAULT_DEVICE}>, which is meant to be managed with
147+
L<OpenMP::Environment>.
148148
149149
use strict;
150150
use warnings;
@@ -184,28 +184,24 @@ via C<< OpenMP::Environment->omp_default_device([int deviceNo]); >>.
184184
=head3 C<PerlOMP_UPDATE_WITH_ENV__MAX_ACTIVE_LEVELS>
185185
186186
Updates the OpenMP runtime with the value of the environmental
187-
variable, C<$ENV{OMP_MAX_ACTIVE_LEVELS}>, which is managed
188-
via C<< OpenMP::Environment->omp_max_active_levels([int maxLevel]); >>.
187+
variable, C<$ENV{OMP_MAX_ACTIVE_LEVELS}>, which is meant to be managed with L<OpenMP::Environment>.
188+
189189
190190
=head3 C<PerlOMP_UPDATE_WITH_ENV__DYNAMIC>
191191
192192
Updates the OpenMP runtime with the value of the environmental
193-
variable, C<$ENV{OMP_DYNAMIC}>, which is managed
194-
via C<< OpenMP::Environment->omp_dynamic(['true'|'false']); >>.
193+
variable, C<$ENV{OMP_DYNAMIC}>, which is meant to be managed with L<OpenMP::Environment>.
194+
195195
196196
=head3 C<PerlOMP_UPDATE_WITH_ENV__NESTED>
197197
198198
Updates the OpenMP runtime with the value of the environmental
199-
variable, C<$ENV{OMP_NESTED}>, which is managed
200-
via C<< OpenMP::Environment->omp_nested(['true'|'false']); >>.
199+
variable, C<$ENV{OMP_NESTED}>, which is meant to be managed with L<OpenMP::Environment>.
201200
202201
=head3 C<PerlOMP_UPDATE_WITH_ENV__SCHEDULE>
203202
204203
Updates the OpenMP runtime with the value of the environmental
205-
variable, C<$ENV{OMP_SCHEDULE}>, which is managed
206-
via C<< OpenMP::Environment->omp_schedule(...); >>.
207-
208-
Note: The schedule syntax is of the form I<schedule[;chunkSize]>.
204+
variable, C<$ENV{OMP_SCHEDULE}>, which is meant to be managed with L<OpenMP::Environment>.
209205
210206
use strict;
211207
use warnings;
@@ -238,7 +234,7 @@ Note: The schedule syntax is of the form I<schedule[;chunkSize]>.
238234
_set_schedule_with_macro();
239235
my $set_schedule = _get_schedule();
240236
is $set_schedule, $schedules->$sched, sprintf qq{Schedule '%s' set in the OpenMP runtime, as expected.}, $sched;
241-
my $set_chunk = _get_chunk();
237+
my $set_chunk = _get_chunk();
242238
is $chunk, $set_chunk, sprintf qq{Chunk size '% 5d' set in the OpenMP runtime, as expected.}, $set_chunk;
243239
}
244240
}
@@ -299,14 +295,14 @@ Note: The schedule syntax is of the form I<schedule[;chunkSize]>.
299295
=head3 C<PerlOMP_UPDATE_WITH_ENV__TEAMS_THREAD_LIMIT>
300296
301297
Updates the OpenMP runtime with the value of the environmental
302-
variable, C<$ENV{OMP_TEAMS_THREAD_LIMIT}>, which is managed via C<< OpenMP::Environment->omp_([int limit]); >>.
298+
variable, C<$ENV{OMP_TEAMS_THREAD_LIMIT}>, which is meant to be managed with L<OpenMP::Environment>.
303299
304300
Note: C<OMP_TEAMS_THREAD_LIMIT> is not supported until GCC 12.3.0
305301
306302
=head3 C<PerlOMP_UPDATE_WITH_ENV__NUM_TEAMS>
307303
308304
Updates the OpenMP runtime with the value of the environmental variable,
309-
C<$ENV{OMP_NUM_TEAMS}>, which is managed via C<< OpenMP::Environment->omp_([int num]); >>.
305+
C<$ENV{OMP_NUM_TEAMS}>, which is meant to be managed with L<OpenMP::Environment>.
310306
311307
Note: C<OMP_NUM_TEAMS> is not supported until GCC 12.3.0
312308
@@ -319,7 +315,7 @@ reference that's been populated via C<av_push>.
319315
__DATA__
320316
__C__
321317
322-
void some_inline_c_function (...
318+
void some_inline_c_function (...
323319
324320
...
325321

0 commit comments

Comments
 (0)