Expression Templates Library (ETL)
Functions
cce.hpp File Reference

EGBLAS wrappers for the cce operations. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

float etl::impl::egblas::cce_loss ([[maybe_unused]] size_t n, [[maybe_unused]] float alpha, [[maybe_unused]] float *A, [[maybe_unused]] size_t lda, [[maybe_unused]] float *B, [[maybe_unused]] size_t ldb)
 Wrappers for single-precision egblas log operation. More...
 
double etl::impl::egblas::cce_loss ([[maybe_unused]] size_t n, [[maybe_unused]] double alpha, [[maybe_unused]] double *A, [[maybe_unused]] size_t lda, [[maybe_unused]] double *B, [[maybe_unused]] size_t ldb)
 Wrappers for double-precision egblas log operation. More...
 
float etl::impl::egblas::cce_error ([[maybe_unused]] size_t n, [[maybe_unused]] size_t m, [[maybe_unused]] float alpha, [[maybe_unused]] float *A, [[maybe_unused]] float *B)
 Wrappers for single-precision egblas log operation. More...
 
double etl::impl::egblas::cce_error ([[maybe_unused]] size_t n, [[maybe_unused]] size_t m, [[maybe_unused]] double alpha, [[maybe_unused]] double *A, [[maybe_unused]] double *B)
 Wrappers for double-precision egblas log operation. More...
 
std::pair< float, float > etl::impl::egblas::cce ([[maybe_unused]] size_t n, [[maybe_unused]] size_t m, [[maybe_unused]] float alpha, [[maybe_unused]] float beta, [[maybe_unused]] float *A, [[maybe_unused]] float *B)
 Wrappers for single-precision egblas cce operation. More...
 
std::pair< double, double > etl::impl::egblas::cce ([[maybe_unused]] size_t n, [[maybe_unused]] size_t m, [[maybe_unused]] double alpha, [[maybe_unused]] double beta, [[maybe_unused]] double *A, [[maybe_unused]] double *B)
 Wrappers for single-precision egblas cce operation. More...
 

Detailed Description

EGBLAS wrappers for the cce operations.

Function Documentation

◆ cce() [1/2]

std::pair<float, float> etl::impl::egblas::cce ( [[maybe_unused] ] size_t  n,
[[maybe_unused] ] size_t  m,
[[maybe_unused] ] float  alpha,
[[maybe_unused] ] float  beta,
[[maybe_unused] ] float *  A,
[[maybe_unused] ] float *  B 
)
inline

Wrappers for single-precision egblas cce operation.

Parameters
nThe size of the vector
alphaThe scaling factor alpha
AThe memory of the vector a
ldaThe leading dimension of a
BThe memory of the vector b
ldbThe leading dimension of b

◆ cce() [2/2]

std::pair<double, double> etl::impl::egblas::cce ( [[maybe_unused] ] size_t  n,
[[maybe_unused] ] size_t  m,
[[maybe_unused] ] double  alpha,
[[maybe_unused] ] double  beta,
[[maybe_unused] ] double *  A,
[[maybe_unused] ] double *  B 
)
inline

Wrappers for single-precision egblas cce operation.

Parameters
nThe size of the vector
alphaThe scaling factor alpha
AThe memory of the vector a
ldaThe leading dimension of a
BThe memory of the vector b
ldbThe leading dimension of b

◆ cce_error() [1/2]

float etl::impl::egblas::cce_error ( [[maybe_unused] ] size_t  n,
[[maybe_unused] ] size_t  m,
[[maybe_unused] ] float  alpha,
[[maybe_unused] ] float *  A,
[[maybe_unused] ] float *  B 
)
inline

Wrappers for single-precision egblas log operation.

Parameters
nThe size of the vector
alphaThe scaling factor alpha
AThe memory of the vector a
ldaThe leading dimension of a
BThe memory of the vector b
ldbThe leading dimension of b

◆ cce_error() [2/2]

double etl::impl::egblas::cce_error ( [[maybe_unused] ] size_t  n,
[[maybe_unused] ] size_t  m,
[[maybe_unused] ] double  alpha,
[[maybe_unused] ] double *  A,
[[maybe_unused] ] double *  B 
)
inline

Wrappers for double-precision egblas log operation.

Parameters
nThe size of the vector
alphaThe scaling factor alpha
AThe memory of the vector a
ldaThe leading dimension of a
BThe memory of the vector b
ldbThe leading dimension of b

◆ cce_loss() [1/2]

float etl::impl::egblas::cce_loss ( [[maybe_unused] ] size_t  n,
[[maybe_unused] ] float  alpha,
[[maybe_unused] ] float *  A,
[[maybe_unused] ] size_t  lda,
[[maybe_unused] ] float *  B,
[[maybe_unused] ] size_t  ldb 
)
inline

Wrappers for single-precision egblas log operation.

Parameters
nThe size of the vector
alphaThe scaling factor alpha
AThe memory of the vector a
ldaThe leading dimension of a
BThe memory of the vector b
ldbThe leading dimension of b

◆ cce_loss() [2/2]

double etl::impl::egblas::cce_loss ( [[maybe_unused] ] size_t  n,
[[maybe_unused] ] double  alpha,
[[maybe_unused] ] double *  A,
[[maybe_unused] ] size_t  lda,
[[maybe_unused] ] double *  B,
[[maybe_unused] ] size_t  ldb 
)
inline

Wrappers for double-precision egblas log operation.

Parameters
nThe size of the vector
alphaThe scaling factor alpha
AThe memory of the vector a
ldaThe leading dimension of a
BThe memory of the vector b
ldbThe leading dimension of b