CoreNeuron
CoreNeuron copied to clipboard
Memory allocation of NrnThread with CudaMallocManaged / posix_memalign
We have changed allocation of NrnThread with new. There were two use cases:
- when we use
alignedpragma with intel compilers we needed to haventto be aligned - for unified memory with cuda, we wanted it to be ideally cudaMallocManaged
This would be good to have some way?
@alkino did PR to implement new memory allocator which should be improved to incorporate above use cases.