|
libflame
12600
|
Functions | |
| void | bl1_sfree_saved_contigmr (uplo1_t uplo, int m, int n, float *a_save, int a_rs_save, int a_cs_save, float **a, int *a_rs, int *a_cs) |
| void | bl1_dfree_saved_contigmr (uplo1_t uplo, int m, int n, double *a_save, int a_rs_save, int a_cs_save, double **a, int *a_rs, int *a_cs) |
| void | bl1_cfree_saved_contigmr (uplo1_t uplo, int m, int n, scomplex *a_save, int a_rs_save, int a_cs_save, scomplex **a, int *a_rs, int *a_cs) |
| void | bl1_zfree_saved_contigmr (uplo1_t uplo, int m, int n, dcomplex *a_save, int a_rs_save, int a_cs_save, dcomplex **a, int *a_rs, int *a_cs) |
| void bl1_cfree_saved_contigmr | ( | uplo1_t | uplo, |
| int | m, | ||
| int | n, | ||
| scomplex * | a_save, | ||
| int | a_rs_save, | ||
| int | a_cs_save, | ||
| scomplex ** | a, | ||
| int * | a_rs, | ||
| int * | a_cs | ||
| ) |
References bl1_ccopymr(), bl1_cfree(), and bl1_is_gen_storage().
Referenced by bl1_cher2k(), bl1_cherk(), bl1_csyr2k(), and bl1_csyrk().
{
if ( bl1_is_gen_storage( a_rs_save, a_cs_save ) )
{
// Copy the contents of the temporary matrix back to the original.
bl1_ccopymr( uplo,
m,
n,
*a, *a_rs, *a_cs,
a_save, a_rs_save, a_cs_save );
// Free the temporary contiguous storage for the matrix.
bl1_cfree( *a );
// Restore the original matrix address.
*a = a_save;
// Restore the original row and column strides.
*a_rs = a_rs_save;
*a_cs = a_cs_save;
}
}
| void bl1_dfree_saved_contigmr | ( | uplo1_t | uplo, |
| int | m, | ||
| int | n, | ||
| double * | a_save, | ||
| int | a_rs_save, | ||
| int | a_cs_save, | ||
| double ** | a, | ||
| int * | a_rs, | ||
| int * | a_cs | ||
| ) |
References bl1_dcopymr(), bl1_dfree(), and bl1_is_gen_storage().
Referenced by bl1_dsyr2k(), and bl1_dsyrk().
{
if ( bl1_is_gen_storage( a_rs_save, a_cs_save ) )
{
// Copy the contents of the temporary matrix back to the original.
bl1_dcopymr( uplo,
m,
n,
*a, *a_rs, *a_cs,
a_save, a_rs_save, a_cs_save );
// Free the temporary contiguous storage for the matrix.
bl1_dfree( *a );
// Restore the original matrix address.
*a = a_save;
// Restore the original row and column strides.
*a_rs = a_rs_save;
*a_cs = a_cs_save;
}
}
| void bl1_sfree_saved_contigmr | ( | uplo1_t | uplo, |
| int | m, | ||
| int | n, | ||
| float * | a_save, | ||
| int | a_rs_save, | ||
| int | a_cs_save, | ||
| float ** | a, | ||
| int * | a_rs, | ||
| int * | a_cs | ||
| ) |
References bl1_is_gen_storage(), bl1_scopymr(), and bl1_sfree().
Referenced by bl1_ssyr2k(), and bl1_ssyrk().
{
if ( bl1_is_gen_storage( a_rs_save, a_cs_save ) )
{
// Copy the contents of the temporary matrix back to the original.
bl1_scopymr( uplo,
m,
n,
*a, *a_rs, *a_cs,
a_save, a_rs_save, a_cs_save );
// Free the temporary contiguous storage for the matrix.
bl1_sfree( *a );
// Restore the original matrix address.
*a = a_save;
// Restore the original row and column strides.
*a_rs = a_rs_save;
*a_cs = a_cs_save;
}
}
| void bl1_zfree_saved_contigmr | ( | uplo1_t | uplo, |
| int | m, | ||
| int | n, | ||
| dcomplex * | a_save, | ||
| int | a_rs_save, | ||
| int | a_cs_save, | ||
| dcomplex ** | a, | ||
| int * | a_rs, | ||
| int * | a_cs | ||
| ) |
References bl1_is_gen_storage(), bl1_zcopymr(), and bl1_zfree().
Referenced by bl1_zher2k(), bl1_zherk(), bl1_zsyr2k(), and bl1_zsyrk().
{
if ( bl1_is_gen_storage( a_rs_save, a_cs_save ) )
{
// Copy the contents of the temporary matrix back to the original.
bl1_zcopymr( uplo,
m,
n,
*a, *a_rs, *a_cs,
a_save, a_rs_save, a_cs_save );
// Free the temporary contiguous storage for the matrix.
bl1_zfree( *a );
// Restore the original matrix address.
*a = a_save;
// Restore the original row and column strides.
*a_rs = a_rs_save;
*a_cs = a_cs_save;
}
}
1.7.6.1