Mentions légales du service

Skip to content
Snippets Groups Projects
Commit dbb3dd2d authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

Fix analysis issues.

parent f47cf24a
No related branches found
No related tags found
No related merge requests found
Subproject commit 022397487f40fb7688e5d0caef2e4708ca4b5fea Subproject commit a661fe7f446be00b203fef88b74957b1f3791ac0
...@@ -266,12 +266,11 @@ CHAMELEON_zgetrf( int M, int N, CHAMELEON_Complex64_t *A, int LDA, int *IPIV ) ...@@ -266,12 +266,11 @@ CHAMELEON_zgetrf( int M, int N, CHAMELEON_Complex64_t *A, int LDA, int *IPIV )
chameleon_sequence_wait( chamctxt, sequence ); chameleon_sequence_wait( chamctxt, sequence );
/* Cleanup the temporary data */ /* Cleanup the temporary data */
CHAMELEON_zgetrf_WS_Free( ws );
chameleon_ztile2lap_cleanup( chamctxt, &descAl, &descAt );
if ( ws->alg == ChamGetrfPPivPerColumn ) { if ( ws->alg == ChamGetrfPPivPerColumn ) {
chameleon_ipiv_destroy( &descIPIV ); chameleon_ipiv_destroy( &descIPIV );
} }
CHAMELEON_zgetrf_WS_Free( ws );
chameleon_ztile2lap_cleanup( chamctxt, &descAl, &descAt );
status = sequence->status; status = sequence->status;
chameleon_sequence_destroy( chamctxt, sequence ); chameleon_sequence_destroy( chamctxt, sequence );
......
...@@ -87,7 +87,7 @@ void *RUNTIME_ipiv_getaddr( const CHAM_ipiv_t *ipiv, int m ) ...@@ -87,7 +87,7 @@ void *RUNTIME_ipiv_getaddr( const CHAM_ipiv_t *ipiv, int m )
assert( handle ); assert( handle );
if ( *handle != NULL ) { if ( *handle != NULL ) {
return *handle; return (void*)(*handle);
} }
const CHAM_desc_t *A = ipiv->desc; const CHAM_desc_t *A = ipiv->desc;
...@@ -104,7 +104,7 @@ void *RUNTIME_ipiv_getaddr( const CHAM_ipiv_t *ipiv, int m ) ...@@ -104,7 +104,7 @@ void *RUNTIME_ipiv_getaddr( const CHAM_ipiv_t *ipiv, int m )
#endif /* defined(CHAMELEON_USE_MPI) */ #endif /* defined(CHAMELEON_USE_MPI) */
assert( *handle ); assert( *handle );
return *handle; return (void*)(*handle);
} }
void *RUNTIME_nextpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h ) void *RUNTIME_nextpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h )
...@@ -116,7 +116,7 @@ void *RUNTIME_nextpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h ) ...@@ -116,7 +116,7 @@ void *RUNTIME_nextpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h )
assert( nextpiv ); assert( nextpiv );
if ( *nextpiv != NULL ) { if ( *nextpiv != NULL ) {
return *nextpiv; return (void*)(*nextpiv);
} }
const CHAM_desc_t *A = ipiv->desc; const CHAM_desc_t *A = ipiv->desc;
...@@ -127,7 +127,7 @@ void *RUNTIME_nextpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h ) ...@@ -127,7 +127,7 @@ void *RUNTIME_nextpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h )
cppi_register( nextpiv, A->dtyp, ncols, tag, owner ); cppi_register( nextpiv, A->dtyp, ncols, tag, owner );
assert( *nextpiv ); assert( *nextpiv );
return *nextpiv; return (void*)(*nextpiv);
} }
void *RUNTIME_prevpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h ) void *RUNTIME_prevpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h )
...@@ -139,7 +139,7 @@ void *RUNTIME_prevpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h ) ...@@ -139,7 +139,7 @@ void *RUNTIME_prevpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h )
assert( prevpiv ); assert( prevpiv );
if ( *prevpiv != NULL ) { if ( *prevpiv != NULL ) {
return *prevpiv; return (void*)(*prevpiv);
} }
const CHAM_desc_t *A = ipiv->desc; const CHAM_desc_t *A = ipiv->desc;
...@@ -150,7 +150,7 @@ void *RUNTIME_prevpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h ) ...@@ -150,7 +150,7 @@ void *RUNTIME_prevpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h )
cppi_register( prevpiv, A->dtyp, ncols, tag, owner ); cppi_register( prevpiv, A->dtyp, ncols, tag, owner );
assert( *prevpiv ); assert( *prevpiv );
return *prevpiv; return (void*)(*prevpiv);
} }
void *RUNTIME_perm_getaddr( const CHAM_ipiv_t *ipiv, int m ) void *RUNTIME_perm_getaddr( const CHAM_ipiv_t *ipiv, int m )
...@@ -162,7 +162,7 @@ void *RUNTIME_perm_getaddr( const CHAM_ipiv_t *ipiv, int m ) ...@@ -162,7 +162,7 @@ void *RUNTIME_perm_getaddr( const CHAM_ipiv_t *ipiv, int m )
assert( handle ); assert( handle );
if ( *handle != NULL ) { if ( *handle != NULL ) {
return *handle; return (void*)(*handle);
} }
const CHAM_desc_t *A = ipiv->desc; const CHAM_desc_t *A = ipiv->desc;
...@@ -179,7 +179,7 @@ void *RUNTIME_perm_getaddr( const CHAM_ipiv_t *ipiv, int m ) ...@@ -179,7 +179,7 @@ void *RUNTIME_perm_getaddr( const CHAM_ipiv_t *ipiv, int m )
#endif /* defined(CHAMELEON_USE_MPI) */ #endif /* defined(CHAMELEON_USE_MPI) */
assert( *handle ); assert( *handle );
return *handle; return (void*)(*handle);
} }
void *RUNTIME_invp_getaddr( const CHAM_ipiv_t *ipiv, int m ) void *RUNTIME_invp_getaddr( const CHAM_ipiv_t *ipiv, int m )
...@@ -191,7 +191,7 @@ void *RUNTIME_invp_getaddr( const CHAM_ipiv_t *ipiv, int m ) ...@@ -191,7 +191,7 @@ void *RUNTIME_invp_getaddr( const CHAM_ipiv_t *ipiv, int m )
assert( handle ); assert( handle );
if ( *handle != NULL ) { if ( *handle != NULL ) {
return *handle; return (void*)(*handle);
} }
const CHAM_desc_t *A = ipiv->desc; const CHAM_desc_t *A = ipiv->desc;
...@@ -208,7 +208,7 @@ void *RUNTIME_invp_getaddr( const CHAM_ipiv_t *ipiv, int m ) ...@@ -208,7 +208,7 @@ void *RUNTIME_invp_getaddr( const CHAM_ipiv_t *ipiv, int m )
#endif /* defined(CHAMELEON_USE_MPI) */ #endif /* defined(CHAMELEON_USE_MPI) */
assert( *handle ); assert( *handle );
return *handle; return (void*)(*handle);
} }
void RUNTIME_ipiv_flushk( const RUNTIME_sequence_t *sequence, void RUNTIME_ipiv_flushk( const RUNTIME_sequence_t *sequence,
......
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