Closed roversch closed 6 years ago
When you use the HP version, the memory used to create matrices is assumed to be properly aligned, otherwise it may seg-fault depending on the architecture.
Instead of malloc, you should use the blasfeo routine v_zeros_align, or alternatively use blasfeo_allocate_dmat instead of blasfeo_create_dmat (as the former takes care of memory allocation itself).
solved, thanks !
The following program segfaults for HASWELL (not for GENERIC). I'm trying to compute the cholesky decomposition of a submatrix and store it in a smaller matrix. For GENERIC, I get the correct result (checked in the last lines).