[patch] Parallel support function updates

Jules Bergmann jules at codesourcery.com
Fri Mar 24 18:58:29 UTC 2006


This patch updates the parallel support functions provided by the 
library to match what is covered in the specification.  This includes 
both new functions, and extending some existing functions to work with 
more distribution types (in particular, the global to local index 
conversions now work with cyclic distributions).  It cleans up the map's 
internal parallel support API to be more consistent.

It implements the Replicated_map map, which is similar to the existing 
Global_map but allows replication over a subset of processors.

This patch fixes a bug with creating local views of sliced subviews of 
distributed objects (subviews using Sliced_block), and adds a regression 
test.  In particular, if 'distributed_matrix' was a distributed matrix, 
the local view of a row or column subview:

	distributed_matrix.row(0).local()

would be invalid on all other processors than the one(s) owning row(0).

				-- Jules

-- 
Jules Bergmann
CodeSourcery
jules at codesourcery.com
(650) 331-3385 x705
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: psf.diff
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20060324/141a604a/attachment.ksh>


More information about the vsipl++ mailing list