Alien-OpenMP
view release on metacpan or search on metacpan
NAME
Alien::OpenMP - Encapsulate system info for OpenMP
SYNOPSIS
use Alien::OpenMP;
say Alien::OpenMP->cflags; # e.g. '-fopenmp' if gcc
say Alien::OpenMP->lddlflags; # e.g. '-fopenmp' if gcc
say Alien::OpenMP->auto_include; # e.g. '#include <omp.h>' if gcc
DESCRIPTION
This module encapsulates the knowledge required to compile OpenMP
programs $Config{ccname}. "C", "Fortran", and "C++" programs annotated
with declarative OpenMP pragmas will still compile if the compiler (and
linker if this is a separate process) is not passed the appropriate flag
to enable OpenMP support. This is because all pragmas are hidden behind
full line comments (with the addition of OpenMP specific "sentinels", as
they are called).
lib/Alien/OpenMP.pm view on Meta::CPAN
__END__
=head1 NAME
Alien::OpenMP - Encapsulate system info for OpenMP
=head1 SYNOPSIS
use Alien::OpenMP;
say Alien::OpenMP->cflags; # e.g. '-fopenmp' if gcc
say Alien::OpenMP->lddlflags; # e.g. '-fopenmp' if gcc
say Alien::OpenMP->auto_include; # e.g. '#include <omp.h>' if gcc
=head1 DESCRIPTION
This module encapsulates the knowledge required to compile OpenMP programs
C<$Config{ccname}>. C<C>, C<Fortran>, and C<C++> programs annotated
with declarative OpenMP pragmas will still compile if the compiler (and
linker if this is a separate process) is not passed the appropriate flag
to enable OpenMP support. This is because all pragmas are hidden behind
full line comments (with the addition of OpenMP specific C<sentinels>,
as they are called).
( run in 1.366 second using v1.01-cache-2.11-cpan-d7a12ab2c7f )