[m-dev.] Proposal for a new parallel conjunction operator.
pbone at csse.unimelb.edu.au
Thu Apr 23 15:12:47 AEST 2009
I'd like to propose a new conjunction operator. We already have the following:
',' (default) sequential conjunction.
'&' parallel conjunction (where available).
I'd like to add another operator that will execute code in parallel if there
are enough mercury engines available (in low-level C grades) and otherwise fall
back to sequential conjunction. I havn't thought much about which symbol to
use, something like '&&' or '&,'. This will provide a granuality control
method for recursive and in-particular divide and conqure algorithms.
This will also be used internally by the automatic parallelism work I'm doing
but it will be useful for me to create programs that use it explicity for
testing and benchmarking. Users may also find it useful.
Does anyone see a problem with this or have any suggestions?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: Digital signature
More information about the developers