libflame revision_anchor
bl1_allocm.c File Reference

(r)

Functions

void * bl1_vallocm (unsigned int m, unsigned int n, unsigned int elem_size)
 
int * bl1_iallocm (unsigned int m, unsigned int n)
 
float * bl1_sallocm (unsigned int m, unsigned int n)
 
double * bl1_dallocm (unsigned int m, unsigned int n)
 
scomplex * bl1_callocm (unsigned int m, unsigned int n)
 
dcomplex * bl1_zallocm (unsigned int m, unsigned int n)
 

Function Documentation

◆ bl1_callocm()

scomplex * bl1_callocm ( unsigned int m,
unsigned int n )
41{
42 return ( scomplex* ) BLIS1_MALLOC( m * n * sizeof( scomplex ) );
43}
Definition blis_type_defs.h:133

Referenced by bl1_ccreate_contigm(), bl1_ccreate_contigmr(), bl1_ccreate_contigmt(), bl1_cgemm(), bl1_chemm(), bl1_cher2k(), bl1_cherk(), bl1_csymm(), bl1_csyr2k(), bl1_ctrmm(), bl1_ctrmmsx(), bl1_ctrsm(), and bl1_ctrsmsx().

◆ bl1_dallocm()

double * bl1_dallocm ( unsigned int m,
unsigned int n )
36{
37 return ( double* ) BLIS1_MALLOC( m * n * sizeof( double ) );
38}

Referenced by bl1_dcreate_contigm(), bl1_dcreate_contigmr(), bl1_dcreate_contigmt(), bl1_dgemm(), bl1_dsymm(), bl1_dsyr2k(), bl1_dtrmmsx(), and bl1_dtrsmsx().

◆ bl1_iallocm()

int * bl1_iallocm ( unsigned int m,
unsigned int n )
26{
27 return ( int* ) BLIS1_MALLOC( m * n * sizeof( int ) );
28}

◆ bl1_sallocm()

float * bl1_sallocm ( unsigned int m,
unsigned int n )
31{
32 return ( float* ) BLIS1_MALLOC( m * n * sizeof( float ) );
33}

Referenced by bl1_screate_contigm(), bl1_screate_contigmr(), bl1_screate_contigmt(), bl1_sgemm(), bl1_ssymm(), bl1_ssyr2k(), bl1_strmmsx(), and bl1_strsmsx().

◆ bl1_vallocm()

void * bl1_vallocm ( unsigned int m,
unsigned int n,
unsigned int elem_size )
21{
22 return ( void* ) BLIS1_MALLOC( m * n * elem_size );
23}

◆ bl1_zallocm()

dcomplex * bl1_zallocm ( unsigned int m,
unsigned int n )
46{
47 return ( dcomplex* ) BLIS1_MALLOC( m * n * sizeof( dcomplex ) );
48}
Definition blis_type_defs.h:138

Referenced by bl1_zcreate_contigm(), bl1_zcreate_contigmr(), bl1_zcreate_contigmt(), bl1_zgemm(), bl1_zhemm(), bl1_zher2k(), bl1_zherk(), bl1_zsymm(), bl1_zsyr2k(), bl1_ztrmm(), bl1_ztrmmsx(), bl1_ztrsm(), and bl1_ztrsmsx().