[m-rev.] for review: Support implicit parallelism in the compiler.

Paul Bone pbone at csse.unimelb.edu.au
Tue Jan 27 11:23:33 AEDT 2009

On Fri, Jan 23, 2009 at 04:47:18PM +1100, Paul Bone wrote:
> For review by anyone.
> I'm not comfortable with the name goal_path_consable for a goal path
> type where the goal_path_steps are stored in order so that accesses to
> the head of the list are efficient.

I've updated the ChangeLog to mention the standard library changes.

Estimated hours taken: 20 
Branches: main

Support implicit parallelism in the compiler.

The compiler now uses the deep profiler feedback information to build a
parallel version of a program.

Changes have also been made to the feedback format for candidate parallel
conjunctions and the analysis that recommends opportunities for parallelism to
the compiler.

	Mark Tannier's implementation as deprecated (it also crashes the
	Introduce new implicit parallelism transformation.
	apply_implicit_parallelism_transformation now returns maybe_error rather
	than maybe so that errors can be described.

	Add a predicate to transform a goal referenced by a goal path within a
	larger goal structure and rebuild that structure.

	Conform to changes in implicit_parallelism.m

	Return a cord of warnings from many predicates, these warnings are used to
	describe cases where parallelism might be profitable but it is not (yet)
	possible to transform the code into parallel code.
	Fix a bug whereby the wrong deep profiling statistic was used to calculate
	the cost of a call.
	Do not attempt to parallelise calls with other goals between them.

	Remove the intermediate goals information from the candidate parallel
	conjunctions feedback data.

	Provide a in-order alternative to the goal_path type so that operations on
	the start of the goal path occur in constant time and goal_path itself
	remains usable as a key in arrays because it doesn't use the cord type

	Added a di/uo mode to cord.foldl_pred.

	Added list.find_index_of_match/4 to return the index of the first item in
	a list that satisfies the predicate given in the first argument.

	Added pqueue.length/1

	Announce standard library changes.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20090127/18742d32/attachment.sig>

More information about the reviews mailing list