[petsc-dev] Using multiple mallocs with PETSc

Jed Brown jed at jedbrown.org
Mon Mar 13 13:27:37 CDT 2017

Satish Balay <balay at mcs.anl.gov> writes:
> stash the metadata for each allocation (and pointers for corresponding
> free) in a hash table for all mallocs that we need to track? [this
> avoids the wasted 'space' in each alloc.]

Sure, but this is just duplicating an implementation of malloc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20170313/13e990a8/attachment.sig>

More information about the petsc-dev mailing list