In file ParSHUM_dense.c line 179, usage of plasma_dlaswp() is incorrect.
From PLASMA docs (or any other lapack version) the function signature for laswp is:
int PLASMA_dlaswp( int N, double *A, int LDA, int K1, int K2, const int *IPIV, int INCX);
A "possible" correct usage (in this context) may be:
plasma_dlaswp(BB_cols, &self->val[(self->n-BB_cols) * self->m], self->m, 1, self->m, self->pivots, 1);
In file ParSHUM_dense.c line 179, usage of plasma_dlaswp() is incorrect.
From PLASMA docs (or any other lapack version) the function signature for laswp is:
int PLASMA_dlaswp( int N, double *A, int LDA, int K1, int K2, const int *IPIV, int INCX);
A "possible" correct usage (in this context) may be:
plasma_dlaswp(BB_cols, &self->val[(self->n-BB_cols) * self->m], self->m, 1, self->m, self->pivots, 1);