Skip to content

Commit

Permalink
PDL::ParallelCPU -> PDL::Parallel::CPU
Browse files Browse the repository at this point in the history
  • Loading branch information
run4flat committed Aug 28, 2012
1 parent 2da876d commit 046edc1
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 15 deletions.
10 changes: 5 additions & 5 deletions Basic/Core/Core.pm.PL
Expand Up @@ -4045,7 +4045,7 @@ Set the target number of processor threads (pthreads) for multi-threaded process
C<$num_pthreads> is the target number of pthreads the auto-pthread process will try to achieve.
See L<PDL::ParallelCPU> for an overview of the auto-pthread process.
See L<PDL::Parallel::CPU> for an overview of the auto-pthread process.
=for example
Expand Down Expand Up @@ -4078,7 +4078,7 @@ Get the current target number of processor threads (pthreads) for multi-threaded
C<$num_pthreads> is the target number of pthreads the auto-pthread process will try to achieve.
See L<PDL::ParallelCPU> for an overview of the auto-pthread process.
See L<PDL::Parallel::CPU> for an overview of the auto-pthread process.
=cut
Expand All @@ -4097,7 +4097,7 @@ Get the actual number of pthreads executed for the last pdl processing function.
C<$autopthread_actual> is the actual number of pthreads executed for the last pdl processing function.
See L<PDL::ParallelCPU> for an overview of the auto-pthread process.
See L<PDL::Parallel::CPU> for an overview of the auto-pthread process.
=cut
Expand All @@ -4120,7 +4120,7 @@ is used to define a minimum threshold where auto-pthreading won't be attempted.
C<$size> is the mimumum size, in M-elements or 2^20 elements (approx 1e6 elements) for the largest PDL involved in a function.
See L<PDL::ParallelCPU> for an overview of the auto-pthread process.
See L<PDL::Parallel::CPU> for an overview of the auto-pthread process.
=for example
Expand Down Expand Up @@ -4153,7 +4153,7 @@ Get the current autopthread_size setting.
C<$autopthread_size> is the mimumum size limit for auto_pthreading to occur, in M-elements or 2^20 elements (approx 1e6 elements) for the largest PDL involved in a function
See L<PDL::ParallelCPU> for an overview of the auto-pthread process.
See L<PDL::Parallel::CPU> for an overview of the auto-pthread process.
=cut
Expand Down
2 changes: 1 addition & 1 deletion Basic/Pod/API.pod
Expand Up @@ -387,7 +387,7 @@ Note that C<barf> and C<warn> have been redefined (using c-preprocessor macros)
and C<< PDL->warn >>. This is to keep any XS or PP code from calling perl's C<barf> or C<warn> directly, which can
cause segfaults during pthreading.

See L<PDL::ParallelCPU> for more information on pthreading.
See L<PDL::Parallel::CPU> for more information on pthreading.

=back

Expand Down
11 changes: 7 additions & 4 deletions Basic/Pod/Makefile.PL
Expand Up @@ -17,16 +17,19 @@ if (!$@ && $] >= 5.005 ) {
# push @pods, 'Export';


my @man1 = map { $_.".pod", '$(INST_MAN1DIR)/PDL::' . $_ . '.$(MAN1EXT)' } @pods;
my %man1 = map { $_.".pod", '$(INST_MAN1DIR)/PDL::' . $_ . '.$(MAN1EXT)' } @pods;
my %pms = map { $_.".pod", '$(INST_LIBDIR)/' . $_ .".pod"} @pods;

my @pms = map { $_.".pod", '$(INST_LIBDIR)/' . $_ .".pod"} @pods;
# Hand-fix Parallel::CPU
$man1{'ParallelCPU.pod'} = '$(INST_MAN1DIR)/PDL::Parallel::CPU.$(MAN1EXT)';
$pms{'ParallelCPU.pod'} = '$(INST_LIBDIR)/Parallel/CPU.pod';

WriteMakefile(
'NAME' => 'PDL::pod',

'MAN1PODS' => { @man1 },
'MAN1PODS' => \%man1,
'MAN3PODS' => { },
'PM' => { @pms },
'PM' => \%pms,
'clean' => {FILES => "PP-Inline.pod"},
'linkext' => {LINKTYPE => ''}, # No linking required in this directory
);
Expand Down
2 changes: 1 addition & 1 deletion Basic/Pod/PP.pod
Expand Up @@ -1707,7 +1707,7 @@ pthreading (i.e. processor multi-threading).
PDL's own versions of C<barf> and C<warn> will queue-up warning or barf messages until after pthreading
is completed, and then call the perl versions of these routines.

See L<PDL::ParallelCPU> for more information on pthreading.
See L<PDL::Parallel::CPU> for more information on pthreading.

=head1 USEFUL ROUTINES

Expand Down
2 changes: 1 addition & 1 deletion Basic/Pod/ParallelCPU.pod
@@ -1,6 +1,6 @@
=head1 NAME

PDL::ParallelCPU - Parallel Processor MultiThreading Support in PDL (Experimental)
PDL::Parallel::CPU - Parallel Processor MultiThreading Support in PDL (Experimental)


=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion DEPENDENCIES
Expand Up @@ -57,7 +57,7 @@ Inline::Pdlpp Inline >= 0.43 This module allows to define fast
build PDL manually without it.


PDL::ParallelCPU pthreads library Multi-CPU support will be enabled
PDL::Parallel::CPU pthreads library Multi-CPU support will be enabled
if libpthreads is detected and
built against. A pthreads for
win32 can be found at
Expand Down
2 changes: 1 addition & 1 deletion Lib/Makefile.PL
Expand Up @@ -7,7 +7,7 @@ WriteMakefile(
'NAME' => 'PDL::Lib',
VERSION_FROM => '../Basic/Core/Version.pm',
DIR => [ qw/Opt ImageRGB Fit FFT Filter Image2D ImageND
CallExt Slatec GSL FFTW GIS Transform Minuit Compression
CallExt Slatec GSL FFTW GIS Transform Minuit Compression Test
/ ],
# Interpolate
);
Expand Down
2 changes: 1 addition & 1 deletion cygwin/README
Expand Up @@ -74,7 +74,7 @@ external dependencies:

and also

PDL::ParallelCPU
PDL::Parallel::CPU
(Parallel pthread support will build and install by default
since the cygwin DLL includes POSIX threads)

Expand Down

0 comments on commit 046edc1

Please sign in to comment.