Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/perl-openmp/p5-tie-openmp-experimental

As the namespace suggests, experiments with Tie::*, OpenMP, and Perl data structures. NONE of this is meant for CPAN directly.
https://github.com/perl-openmp/p5-tie-openmp-experimental

Last synced: about 1 month ago
JSON representation

As the namespace suggests, experiments with Tie::*, OpenMP, and Perl data structures. NONE of this is meant for CPAN directly.

Awesome Lists containing this project

README

        

Tie::OpenMP::Experimental

The goal of this repository and name space is to do some
language exploration on the best way to marry C'd
things and underlying C functions that have been
threaded using OpenMP.

Most ideas and attempts will not be what we want, but if
we keep at this long enough to develop some intuition about
what would work; then some viable options will be found.

Challenges Check List

Attemps at HASH interfaces:

Attempts at ARRAY interfaces:

Attempts at SCALAR interfaces:

Title:
OpenMP::Experimental::Scalar::ArrayReduceSum
OpenMP::Experimental::Scalar::ArrayReduceSubtract
Implementation(s):
./lib/Tie/OpenMP/Experimental/Scalar/ArrayReduceSum.pm
./lib/Tie/OpenMP/Experimental/Scalar/ArrayReduceSubtract.pm
Driver(s):
./examples/tie-sum.pl
./examples/tie-subtract.pl
Status/Comment:
Probably not what we want because it presents a very specific
operation to be done over an array as a fetch of a scalar. This
means, for one thing, that this approach requires a different
scalar value for each kind of operation one wishes to perform
over the underlying array of numbers.

On the contrary, this sort of thing might be exactly what is
needed.