|Re: [eigen] Parallel matrix multiplication causes heap allocation|
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
On Dec 18, 2016, at 9:12 AM, Gael Guennebaud <gael.guennebaud@xxxxxxxxx> wrote:
All good GEMM implementations copy into temporaries but they should not have to dynamically allocate them in every call.
Some BLAS libraries allocate the buffer only once, during the first call. GotoBLAS used to do this. I don't know if OpenBLAS still does this, or in which cases.
At one time, BLIS (cousin of OpenBLAS) used a static buffer that was part of the data segment, so malloc was not necessary to get the temporary buffers. I think it can dynamically allocate instead now but only once during the first call..
|Mail converted by MHonArc 2.6.19+||http://listengine.tuxfamily.org/|