Search results for "distribution:MCE core.pm"
MCE::Core::Worker - Core methods for the worker process
This package provides main, loop, and relevant methods used internally by the worker process. There is no public API....
MARIOROY/MCE-1.890 - 24 May 2024 23:15:09 UTC
MCE::Core::Manager - Core methods for the manager process
This package provides the loop and relevant methods used internally by the manager process. There is no public API....
MARIOROY/MCE-1.890 - 24 May 2024 23:15:09 UTC
MCE::Core::Validation - Core validation methods for Many-Core Engine
This package provides validation methods used internally by the manager process. There is no public API....
MARIOROY/MCE-1.890 - 24 May 2024 23:15:09 UTC
MCE::Core::Input::Handle - File path and Scalar reference input reader
This package provides the read handle method used internally by the worker process. Distribution follows a bank-queuing model. There is no public API....
MARIOROY/MCE-1.890 - 24 May 2024 23:15:09 UTC
MCE::Core::Input::Request - Array reference and Glob reference input reader
This package provides the request chunk method used internally by the worker process. Distribution follows a bank-queuing model. There is no public API....
MARIOROY/MCE-1.890 - 24 May 2024 23:15:09 UTC
MCE::Core::Input::Iterator - Iterator reader
This package, used internally by the worker process, provides support for user specified iterators assigned to "input_data". There is no public API....
MARIOROY/MCE-1.890 - 24 May 2024 23:15:09 UTC
MCE::Core::Input::Sequence - Sequence of numbers (for task_id == 0)
This package provides a sequence of numbers used internally by the worker process. Distribution follows a bank-queuing model. There is no public API....
MARIOROY/MCE-1.890 - 24 May 2024 23:15:09 UTC
MCE::Core::Input::Generator - Sequence of numbers (for task_id > 0)
This package provides a sequence of numbers used internally by the worker process. Distribution is divided equally among workers. This allows sequence to be configured independently among multiple user tasks. There is no public API....
MARIOROY/MCE-1.890 - 24 May 2024 23:15:09 UTC
MCE - Many-Core Engine for Perl providing parallel processing capabilities
MCE spawns a pool of workers and therefore does not fork a new process per each element of data. Instead, MCE follows a bank queuing model. Imagine the line being the data and bank-tellers the parallel workers. MCE enhances that model by adding the a...
MARIOROY/MCE-1.890 - 24 May 2024 23:15:09 UTC
MCE::Mutex - Locking for Many-Core Engine
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.890 - 24 May 2024 23:15:09 UTC
MCE::Relay - Extends Many-Core Engine with relay capabilities
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.890 - 24 May 2024 23:15:09 UTC
MCE::Map - Parallel map model similar to the native map function
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.890 - 24 May 2024 23:15:09 UTC
MCE::Subs - Exports functions mapped directly to MCE methods
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.890 - 24 May 2024 23:15:09 UTC
MCE::Util - Utility functions
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.890 - 24 May 2024 23:15:09 UTC
MCE::Loop - MCE model for building parallel loops
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.890 - 24 May 2024 23:15:09 UTC
MCE::Grep - Parallel grep model similar to the native grep function
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.890 - 24 May 2024 23:15:09 UTC
MCE::Flow - Parallel flow model for building creative applications
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.890 - 24 May 2024 23:15:09 UTC
MCE::Step - Parallel step model for building creative steps
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.890 - 24 May 2024 23:15:09 UTC
MCE::Candy - Sugar methods and output iterators
This module provides a collection of sugar methods and helpful output iterators for preserving output order....
MARIOROY/MCE-1.890 - 24 May 2024 23:15:09 UTC