67
69
int status = posix_memalign((void **)&memptr, ( (alignment >= sizeof(void*)) ? alignment : sizeof(void*) ), sizeof(eT)*n_elem);
77
79
//return ( new(std::nothrow) eT[n_elem] );
82
84
// TODO: for mingw, use __mingw_aligned_malloc
87
96
//! get memory in multiples of chunks, holding at least n_elem
92
101
memory::acquire_chunked(const uword n_elem)