ergo
template_blas_gemm.h File Reference

Go to the source code of this file.

Macros

#define a_ref(a_1, a_2)   a[(a_2)*a_dim1 + a_1]
 
#define b_ref(a_1, a_2)   b[(a_2)*b_dim1 + a_1]
 
#define c___ref(a_1, a_2)   c__[(a_2)*c_dim1 + a_1]
 

Functions

template<class Treal >
int template_blas_gemm (const char *transa, const char *transb, const integer *m, const integer *n, const integer *k, const Treal *alpha, const Treal *a, const integer *lda, const Treal *b, const integer *ldb, const Treal *beta, Treal *c__, const integer *ldc)
 

Macro Definition Documentation

◆ a_ref

#define a_ref (   a_1,
  a_2 
)    a[(a_2)*a_dim1 + a_1]

Referenced by template_blas_gemm().

◆ b_ref

#define b_ref (   a_1,
  a_2 
)    b[(a_2)*b_dim1 + a_1]

Referenced by template_blas_gemm().

◆ c___ref

#define c___ref (   a_1,
  a_2 
)    c__[(a_2)*c_dim1 + a_1]

Referenced by template_blas_gemm().

Function Documentation

◆ template_blas_gemm()

template<class Treal >
int template_blas_gemm ( const char *  transa,
const char *  transb,
const integer m,
const integer n,
const integer k,
const Treal *  alpha,
const Treal *  a,
const integer lda,
const Treal *  b,
const integer ldb,
const Treal *  beta,
Treal *  c__,
const integer ldc 
)