Mentions légales du service

Skip to content
Snippets Groups Projects
Commit d69836ef authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Backport a bunch of changes from hmat to start 2D updates

parent 04ca5f13
No related branches found
No related tags found
No related merge requests found
......@@ -43,11 +43,11 @@ add_custom_target(spm_headers_tgt
DEPENDS ${spm_headers} )
set_source_files_properties(
spm/spm.c
spm.c
PROPERTIES DEPENDS spm_headers_tgt
)
set(PASTIX_LIB_SRCS
${PASTIX_LIB_SRCS}
${spm_sources}
)
\ No newline at end of file
)
......@@ -374,7 +374,9 @@ z_spmCheckAxb( int nrhs,
*/
if ( x0 != NULL ) {
normX0 = LAPACKE_zlange( LAPACK_COL_MAJOR, 'I', spm->n, nrhs, x0, ldx0 );
core_zgeadd( PastixNoTrans, spm->n, nrhs, -1., x, ldx, x0, ldx0 );
core_zgeadd( PastixNoTrans, spm->n, nrhs,
-1., x, ldx,
1., x0, ldx0 );
normR = LAPACKE_zlange( LAPACK_COL_MAJOR, 'I', spm->n, nrhs, x0, ldx0 );
forward = normR / normX0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment