SIRIUS 7.5.0
Electronic structure library and applications
Namespaces | Functions
linalg_spla.hpp File Reference

Interface to SPLA library. More...

Go to the source code of this file.

Namespaces

module  sirius
 Namespace of the SIRIUS library.
 

Functions

SplaOperation sirius::splablas::get_spla_operation (char c)
 
std::shared_ptr<::spla::Context > & sirius::splablas::get_handle_ptr ()
 
void sirius::splablas::set_handle_ptr (std::shared_ptr<::spla::Context > ptr)
 
void sirius::splablas::reset_handle (SplaProcessingUnit op=SPLA_PU_HOST)
 
void sirius::splablas::sgemm (char transa, char transb, ftn_int m, ftn_int n, ftn_int k, ftn_single const *alpha, ftn_single const *A, ftn_int lda, ftn_single const *B, ftn_int ldb, ftn_single const *beta, ftn_single *C, ftn_int ldc)
 
void sirius::splablas::dgemm (char transa, char transb, ftn_int m, ftn_int n, ftn_int k, ftn_double const *alpha, ftn_double const *A, ftn_int lda, ftn_double const *B, ftn_int ldb, ftn_double const *beta, ftn_double *C, ftn_int ldc)
 
void sirius::splablas::cgemm (char transa, char transb, ftn_int m, ftn_int n, ftn_int k, ftn_complex const *alpha, ftn_complex const *A, ftn_int lda, ftn_complex const *B, ftn_int ldb, ftn_complex const *beta, ftn_complex *C, ftn_int ldc)
 
void sirius::splablas::zgemm (char transa, char transb, ftn_int m, ftn_int n, ftn_int k, ftn_double_complex const *alpha, ftn_double_complex const *A, ftn_int lda, ftn_double_complex const *B, ftn_int ldb, ftn_double_complex const *beta, ftn_double_complex *C, ftn_int ldc)
 

Detailed Description

Interface to SPLA library.

Definition in file linalg_spla.hpp.

Function Documentation

◆ get_spla_operation()

SplaOperation sirius::splablas::get_spla_operation ( char  c)
inline

Definition at line 37 of file linalg_spla.hpp.

◆ get_handle_ptr()

std::shared_ptr<::spla::Context > & sirius::splablas::get_handle_ptr ( )

Definition at line 28 of file linalg_spla.cpp.

◆ set_handle_ptr()

void sirius::splablas::set_handle_ptr ( std::shared_ptr<::spla::Context >  ptr)
inline

Definition at line 62 of file linalg_spla.hpp.

◆ reset_handle()

void sirius::splablas::reset_handle ( SplaProcessingUnit  op = SPLA_PU_HOST)
inline

Definition at line 68 of file linalg_spla.hpp.

◆ sgemm()

void sirius::splablas::sgemm ( char  transa,
char  transb,
ftn_int  m,
ftn_int  n,
ftn_int  k,
ftn_single const *  alpha,
ftn_single const *  A,
ftn_int  lda,
ftn_single const *  B,
ftn_int  ldb,
ftn_single const *  beta,
ftn_single *  C,
ftn_int  ldc 
)
inline

Definition at line 74 of file linalg_spla.hpp.

◆ dgemm()

void sirius::splablas::dgemm ( char  transa,
char  transb,
ftn_int  m,
ftn_int  n,
ftn_int  k,
ftn_double const *  alpha,
ftn_double const *  A,
ftn_int  lda,
ftn_double const *  B,
ftn_int  ldb,
ftn_double const *  beta,
ftn_double *  C,
ftn_int  ldc 
)
inline

Definition at line 82 of file linalg_spla.hpp.

◆ cgemm()

void sirius::splablas::cgemm ( char  transa,
char  transb,
ftn_int  m,
ftn_int  n,
ftn_int  k,
ftn_complex const *  alpha,
ftn_complex const *  A,
ftn_int  lda,
ftn_complex const *  B,
ftn_int  ldb,
ftn_complex const *  beta,
ftn_complex *  C,
ftn_int  ldc 
)
inline

Definition at line 90 of file linalg_spla.hpp.

◆ zgemm()

void sirius::splablas::zgemm ( char  transa,
char  transb,
ftn_int  m,
ftn_int  n,
ftn_int  k,
ftn_double_complex const *  alpha,
ftn_double_complex const *  A,
ftn_int  lda,
ftn_double_complex const *  B,
ftn_int  ldb,
ftn_double_complex const *  beta,
ftn_double_complex *  C,
ftn_int  ldc 
)
inline

Definition at line 98 of file linalg_spla.hpp.