CoreNeuron icon indicating copy to clipboard operation
CoreNeuron copied to clipboard

Write a new allocator for coreneuron

Open ohm314 opened this issue 6 years ago • 2 comments

To replace the more C-style alloc_memory, calloc_memory, emalloc_align and ecalloc_align with C++ class construction and allocation (using new and delete) we need to provide a new allocator that handles:

  • default allocation (fallback to default allocators)
  • aligned allocation
  • allocation on the GPU

ohm314 avatar Oct 17 '19 13:10 ohm314

This was partially taken care of here: https://github.com/BlueBrain/CoreNeuron/commit/557f2566427908b68918403da87e3af2af65914c But ultimately this will be part of our data-structure rewrite. For now we can keep it open, though.

ohm314 avatar Jul 19 '21 08:07 ohm314

https://github.com/BlueBrain/CoreNeuron/pull/606 also added some relevant utilities.

olupton avatar Aug 26 '21 11:08 olupton