Re: [eigen] Parallel matrix multiplication causes heap allocation |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
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.. Jeff
|
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |