libflame
12600
|
Functions | |
void | bl1_screate_contigm (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_contigm (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_contigm (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_contigm (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_contigm | ( | 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_ccopymt(), bl1_is_gen_storage(), bl1_set_contig_strides(), and BLIS1_NO_TRANSPOSE.
Referenced by bl1_cgemm(), bl1_cgemv(), bl1_cger(), bl1_chemm(), bl1_csymm(), bl1_ctrmm(), bl1_ctrmmsx(), bl1_ctrsm(), and bl1_ctrsmsx().
{ 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_ccopymt( BLIS1_NO_TRANSPOSE, m_contig, n_contig, a_save, a_rs_save, a_cs_save, *a, *a_rs, *a_cs ); } }
void bl1_dcreate_contigm | ( | 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_dcopymt(), bl1_is_gen_storage(), bl1_set_contig_strides(), and BLIS1_NO_TRANSPOSE.
Referenced by bl1_dgemm(), bl1_dgemv(), bl1_dger(), bl1_dsymm(), bl1_dtrmm(), bl1_dtrmmsx(), bl1_dtrsm(), and bl1_dtrsmsx().
{ 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_dcopymt( BLIS1_NO_TRANSPOSE, m_contig, n_contig, a_save, a_rs_save, a_cs_save, *a, *a_rs, *a_cs ); } }
void bl1_screate_contigm | ( | 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_scopymt(), bl1_set_contig_strides(), and BLIS1_NO_TRANSPOSE.
Referenced by bl1_sgemm(), bl1_sgemv(), bl1_sger(), bl1_ssymm(), bl1_strmm(), bl1_strmmsx(), bl1_strsm(), and bl1_strsmsx().
{ 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_scopymt( BLIS1_NO_TRANSPOSE, m_contig, n_contig, a_save, a_rs_save, a_cs_save, *a, *a_rs, *a_cs ); } }
void bl1_zcreate_contigm | ( | 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(), bl1_zcopymt(), and BLIS1_NO_TRANSPOSE.
Referenced by bl1_zgemm(), bl1_zgemv(), bl1_zger(), bl1_zhemm(), bl1_zsymm(), bl1_ztrmm(), bl1_ztrmmsx(), bl1_ztrsm(), and bl1_ztrsmsx().
{ 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_zcopymt( BLIS1_NO_TRANSPOSE, m_contig, n_contig, a_save, a_rs_save, a_cs_save, *a, *a_rs, *a_cs ); } }