libflame
12600
|
Functions | |
void | bl1_screate_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_dcreate_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_ccreate_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_zcreate_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_ccreate_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_callocm(), bl1_ccopymr(), bl1_is_gen_storage(), and bl1_set_contig_strides().
Referenced by bl1_ccreate_contigmsr(), bl1_chemm(), bl1_chemv(), bl1_cher(), bl1_cher2(), bl1_cher2k(), bl1_cherk(), bl1_csymm(), bl1_csymv(), bl1_csyr(), bl1_csyr2(), bl1_csyr2k(), bl1_csyrk(), bl1_ctrmm(), bl1_ctrmmsx(), bl1_ctrmv(), bl1_ctrmvsx(), bl1_ctrsm(), bl1_ctrsmsx(), bl1_ctrsv(), and bl1_ctrsvsx().
{ int m_contig, n_contig; if ( bl1_is_gen_storage( a_rs_save, a_cs_save ) ) { // Initialize dimensions assuming no transposition needed during copy. m_contig = m; n_contig = n; /* // Transpose the dimensions of the contiguous matrix, if requested. if ( bl1_does_trans( trans_copy ) ) { m_contig = n; n_contig = m; } */ // Allocate temporary contiguous storage for the matrix. *a = bl1_callocm( m_contig, n_contig ); // Set the row and column strides for the temporary matrix. bl1_set_contig_strides( m_contig, n_contig, a_rs, a_cs ); // Initialize the contiguous matrix with the contents of the original. bl1_ccopymr( uplo, m_contig, n_contig, a_save, a_rs_save, a_cs_save, *a, *a_rs, *a_cs ); } }
void bl1_dcreate_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_dallocm(), bl1_dcopymr(), bl1_is_gen_storage(), and bl1_set_contig_strides().
Referenced by bl1_dcreate_contigmsr(), bl1_dsymm(), bl1_dsymv(), bl1_dsyr(), bl1_dsyr2(), bl1_dsyr2k(), bl1_dsyrk(), bl1_dtrmm(), bl1_dtrmmsx(), bl1_dtrmv(), bl1_dtrmvsx(), bl1_dtrsm(), bl1_dtrsmsx(), bl1_dtrsv(), and bl1_dtrsvsx().
{ int m_contig, n_contig; if ( bl1_is_gen_storage( a_rs_save, a_cs_save ) ) { // Initialize dimensions assuming no transposition needed during copy. m_contig = m; n_contig = n; /* // Transpose the dimensions of the contiguous matrix, if requested. if ( bl1_does_trans( trans_copy ) ) { m_contig = n; n_contig = m; } */ // Allocate temporary contiguous storage for the matrix. *a = bl1_dallocm( m_contig, n_contig ); // Set the row and column strides for the temporary matrix. bl1_set_contig_strides( m_contig, n_contig, a_rs, a_cs ); // Initialize the contiguous matrix with the contents of the original. bl1_dcopymr( uplo, m_contig, n_contig, a_save, a_rs_save, a_cs_save, *a, *a_rs, *a_cs ); } }
void bl1_screate_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_sallocm(), bl1_scopymr(), and bl1_set_contig_strides().
Referenced by bl1_screate_contigmsr(), bl1_ssymm(), bl1_ssymv(), bl1_ssyr(), bl1_ssyr2(), bl1_ssyr2k(), bl1_ssyrk(), bl1_strmm(), bl1_strmmsx(), bl1_strmv(), bl1_strmvsx(), bl1_strsm(), bl1_strsmsx(), bl1_strsv(), and bl1_strsvsx().
{ int m_contig, n_contig; if ( bl1_is_gen_storage( a_rs_save, a_cs_save ) ) { // Initialize dimensions assuming no transposition needed during copy. m_contig = m; n_contig = n; /* // Transpose the dimensions of the contiguous matrix, if requested. if ( bl1_does_trans( trans_copy ) ) { m_contig = n; n_contig = m; } */ // Allocate temporary contiguous storage for the matrix. *a = bl1_sallocm( m_contig, n_contig ); // Set the row and column strides for the temporary matrix. bl1_set_contig_strides( m_contig, n_contig, a_rs, a_cs ); // Initialize the contiguous matrix with the contents of the original. bl1_scopymr( uplo, m_contig, n_contig, a_save, a_rs_save, a_cs_save, *a, *a_rs, *a_cs ); } }
void bl1_zcreate_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_set_contig_strides(), bl1_zallocm(), and bl1_zcopymr().
Referenced by bl1_zcreate_contigmsr(), bl1_zhemm(), bl1_zhemv(), bl1_zher(), bl1_zher2(), bl1_zher2k(), bl1_zherk(), bl1_zsymm(), bl1_zsymv(), bl1_zsyr(), bl1_zsyr2(), bl1_zsyr2k(), bl1_zsyrk(), bl1_ztrmm(), bl1_ztrmmsx(), bl1_ztrmv(), bl1_ztrmvsx(), bl1_ztrsm(), bl1_ztrsmsx(), bl1_ztrsv(), and bl1_ztrsvsx().
{ int m_contig, n_contig; if ( bl1_is_gen_storage( a_rs_save, a_cs_save ) ) { // Initialize dimensions assuming no transposition needed during copy. m_contig = m; n_contig = n; /* // Transpose the dimensions of the contiguous matrix, if requested. if ( bl1_does_trans( trans_copy ) ) { m_contig = n; n_contig = m; } */ // Allocate temporary contiguous storage for the matrix. *a = bl1_zallocm( m_contig, n_contig ); // Set the row and column strides for the temporary matrix. bl1_set_contig_strides( m_contig, n_contig, a_rs, a_cs ); // Initialize the contiguous matrix with the contents of the original. bl1_zcopymr( uplo, m_contig, n_contig, a_save, a_rs_save, a_cs_save, *a, *a_rs, *a_cs ); } }