The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "module:MCE"

lib/MCE.pm River stage three • 21 direct dependents • 313 total dependents

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Map - Parallel map model similar to the native map function River stage three • 21 direct dependents • 313 total dependents

This module provides a parallel map implementation via Many-Core Engine. MCE incurs a small overhead due to passing of data. A fast code block will run faster natively. However, the overhead will likely diminish as the complexity increases for the co...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Step - Parallel step model for building creative steps River stage three • 21 direct dependents • 313 total dependents

MCE::Step is similar to MCE::Flow for writing custom apps. The main difference comes from the transparent use of queues between sub-tasks. MCE 1.7 adds mce_enq, mce_enqp, and mce_await methods described under QUEUE-LIKE FEATURES below. It is trivial ...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Grep - Parallel grep model similar to the native grep function River stage three • 21 direct dependents • 313 total dependents

This module provides a parallel grep implementation via Many-Core Engine. MCE incurs a small overhead due to passing of data. A fast code block will run faster natively. However, the overhead will likely diminish as the complexity increases for the c...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Util - Utility functions River stage three • 21 direct dependents • 313 total dependents

A utility module for MCE. Nothing is exported by default. Exportable is get_ncpu. get_ncpu() Returns the number of logical (online/active/enabled) CPU cores; never smaller than one. my $ncpu = MCE::Util::get_ncpu(); Specifying 'auto' for max_workers ...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Flow - Parallel flow model for building creative applications River stage three • 21 direct dependents • 313 total dependents

MCE::Flow is great for writing custom apps to maximize on all available cores. This module was created to help one harness user_tasks within MCE. It is trivial to parallelize with mce_stream shown below. ## Native map function my @a = map { $_ * 4 } ...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Subs - Exports functions mapped directly to MCE methods River stage three • 21 direct dependents • 313 total dependents

This module exports functions mapped to MCE methods. All exported functions are prototyped, therefore allowing one to call them without using parentheses. use MCE::Subs qw( :worker ); sub user_func { my $wid = MCE->wid; mce_say "A: $wid"; mce_sync; m...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Loop - MCE model for building parallel loops River stage three • 21 direct dependents • 313 total dependents

This module provides a parallel loop implementation through Many-Core Engine. MCE::Loop is not MCE::Map but more along the lines of an easy way to spin up a MCE instance and have user_func pointing to your code block. If you want something similar to...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Hobo - A threads-like parallelization module River stage one • 2 direct dependents • 3 total dependents

A hobo is a migratory worker inside the machine that carries the asynchronous gene. Hobo processes are equipped with "threads"-like capability for running code asynchronously. Unlike threads, each hobo is a unique process to the underlying OS. The IP...

MARIOROY/MCE-Shared-1.886 - 13 Sep 2023 23:57:14 UTC

MCE::Candy - Sugar methods and output iterators River stage three • 21 direct dependents • 313 total dependents

This module provides a collection of sugar methods and helpful output iterators for preserving output order....

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Child - A threads-like parallelization module compatible with Perl 5.8 River stage three • 21 direct dependents • 313 total dependents

MCE::Child is a fork of MCE::Hobo for compatibility with Perl 5.8. A child is a migratory worker inside the machine that carries the asynchronous gene. Child processes are equipped with "threads"-like capability for running code asynchronously. Unlik...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Relay - Extends Many-Core Engine with relay capabilities River stage three • 21 direct dependents • 313 total dependents

This module enables workers to receive and pass on information orderly with zero involvement by the manager process while running. The module is loaded automatically when MCE option "init_relay" is specified. All workers (belonging to task_id 0) must...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Mutex - Locking for Many-Core Engine River stage three • 21 direct dependents • 313 total dependents

This module implements locking methods that can be used to coordinate access to shared data from multiple workers spawned as processes or threads. The inspiration for this module came from reading Mutex for Ruby....

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Queue - Hybrid (normal and priority) queues River stage three • 21 direct dependents • 313 total dependents

This module provides a queue interface supporting normal and priority queues and utilizing the IPC engine behind MCE. Data resides under the manager process. Three options are available for overriding the default value for new queues. The porder opti...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Shared - MCE extension for sharing data supporting threads and processes River stage one • 2 direct dependents • 3 total dependents

This module provides data sharing capabilities for MCE supporting threads and processes. MCE::Hobo provides threads-like parallelization for running code asynchronously....

MARIOROY/MCE-Shared-1.886 - 13 Sep 2023 23:57:14 UTC

MCE::Signal - Temporary directory creation/cleanup and signal handling River stage three • 21 direct dependents • 313 total dependents

This package configures $SIG{ ABRT, HUP, INT, PIPE, QUIT, and TERM } to point to stop_and_exit and creates a temporary directory. The main process and workers receiving said signals call stop_and_exit, which signals all workers to terminate, removes ...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Stream - Parallel stream model for chaining multiple maps and greps River stage three • 21 direct dependents • 313 total dependents

This module allows one to stream multiple map and/or grep operations in parallel. Code blocks run simultaneously from right-to-left. The results are appended immediately when providing a reference to an array. ## Appends are serialized, even out-of-o...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Channel - Queue-like and two-way communication capability River stage three • 21 direct dependents • 313 total dependents

A MCE::Channel object is a container for sending and receiving data using socketpair handles. Serialization is provided by Sereal if available. Defaults to Storable otherwise. Excluding the "Simple" implementation, both ends of the "channel" support ...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

HPC::Runner::MCE - Job submission using MCE River stage one • 1 direct dependent • 1 total dependent

JILLROWE/HPC-Runner-MCE-2.41 - 18 Jan 2016 06:03:15 UTC

MCE::Shared::Base - Base package for helper classes River stage one • 2 direct dependents • 3 total dependents

Common functions for MCE::Shared. There is no public API....

MARIOROY/MCE-Shared-1.886 - 13 Sep 2023 23:57:14 UTC
54 results (0.021 seconds)