33#ifndef MADNESS_LINALG_CBLAS_TYPES_H__INCLUDED
34#define MADNESS_LINALG_CBLAS_TYPES_H__INCLUDED
41#if defined(HAVE_INTEL_MKL) && defined(MKL_DIRECT_CALL)
43# include <mkl_types.h>
53#if defined(HAVE_INTEL_MKL) && defined(MKL_DIRECT_CALL)
60 static_assert(
sizeof(
complex_float) ==
sizeof(std::complex<float>),
"the BLAS single-precision complex type must match std::complex<float>");
61 static_assert(
sizeof(
complex_double) ==
sizeof(std::complex<double>),
"the BLAS double-precision complex type must match std::complex<double>");
74 static_assert(
sizeof(T)==
sizeof(
complex_float),
"sizes of complex_float and T given to madness::cblas::to_cptr do not match");
80 static_assert(
sizeof(T)==
sizeof(
complex_float),
"sizes of complex_float and T given to madness::cblas::to_cptr do not match");
87 static_assert(
sizeof(T)==
sizeof(
complex_double),
"sizes of complex_double and T given to madness::cblas::to_zptr do not match");
93 static_assert(
sizeof(T)==
sizeof(
complex_double),
"sizes of complex_double and T given to madness::cblas::to_zptr do not match");
Macros and tools pertaining to the configuration of MADNESS.
std::complex< float > complex_float
Definition cblas_types.h:57
const complex_float * to_cptr(const T *ptr)
Definition cblas_types.h:73
const complex_double * to_zptr(const T *ptr)
Definition cblas_types.h:86
std::complex< double > complex_double
Definition cblas_types.h:58
CBLAS_TRANSPOSE
Matrix operations for BLAS function calls.
Definition cblas_types.h:64
@ NoTrans
Definition cblas_types.h:65
@ ConjTrans
Definition cblas_types.h:67
@ Trans
Definition cblas_types.h:66
Namespace for all elements and tools of MADNESS.
Definition DFConvergence.h:9
std::string type(const PairType &n)
Definition PNOParameters.h:18