[patch] Support for split-storage of complex by Dense

Jules Bergmann jules at codesourcery.com
Fri Feb 3 17:37:57 UTC 2006


This patch primarily allows dense blocks to store complex data in split 
format:

  - New configure option: --with-complex=FORMAT
    For example, to store data in split format, '--with-complex=split'
    Right now the default is to use interleaved, i.e.
    '--with-complex=inter'.  However, on the mercury we will want to make
    the default split.

  - New Ext_data_local class that combines aspects of working_view_holder
    (that translates a global view into a local view) and Ext_data
    (that returns a pointer to a local view, potentially rearranging
    the format).  This arrangement avoids a potential extra copy
    and perform memory allocations early.

This patch also: fixes a bug in Histogram::operator().  It should return 
a view with value-type scalar_i, not with value-type T.  (Don, can you 
double-check that this is correct?)

				-- Jules
-------------- next part --------------
A non-text attachment was scrubbed...
Name: split.diff
Type: text/x-patch
Size: 121045 bytes
Desc: not available
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20060203/1f724a37/attachment.bin>


More information about the vsipl++ mailing list