Re: [eigen] Tensor Module: Continuous Memory?

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]




On Wed, Oct 7, 2015 at 9:31 AM, Nathan Yonkee <nathan.yonkee@xxxxxxxxx> wrote:
That is correct Gabriel the data is stored in a single, fixed size array, the data is also aligned in case you have vectorized CPU insructions (SSE or AVX). I'm only confident for fixed sized objects, it may be different if you use dynamically sized ones.

This is correct for both fixed sized and dynamically sized tensors. If a dynamically sized tensor needs to grow, a new contiguous chunk of memory will be allocated to accommodate the additional coefficients.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/