[patch] Misc fixes

Jules Bergmann jules at codesourcery.com
Fri Apr 28 21:22:59 UTC 2006


This patch

  - Fixes a bug in Aligned_allocator when allocating a block of size 0.
    alloc_align() would return NULL, which would cause Aligned_allocator
    to throw an exception.  This did not happen with LAM because it
    interacts badly with memalign, which caused us to roll our own).

    Now Aligned_allocator bumps size up to 1 if size == 0 so that a
    valid pointer is always returned.  This is consistent with the
    behavior of new char[] and std::allocator.

  - Fixes a bug in the parallel/expr.cpp test.  It was using the wrong
    map to determine if the local processor had a piece of the view to
    be checked.

  - Fixes a bug in map.hpp when calling impl_subblock_domain
    subblock == no_subblock.  Should return empty domain.

  - Updates makefiles to install headers for the new vsip/impl
    subdirectories (sal, lapack, etc).  Also installs new libF77.

  - Replaces MPI prefixes in pkg-config files with a variable
    that is more easy to override (similar to the replacement
    done for IPP and MKL).  Updates set-prefix.sh script to
    set the MPI prefix.

  - Updates quickstart to mention Solaris and using set-prefix.sh
    to set the MPI prefix.

Patch applied.

				-- Jules





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


More information about the vsipl++ mailing list