33 #ifndef MADNESS_LINALG_LAPACKE_TYPES_H__INCLUDED
34 #define MADNESS_LINALG_LAPACKE_TYPES_H__INCLUDED
42 #ifndef HAVE_INTEL_MKL
44 # ifndef lapack_complex_float
45 # define lapack_complex_float std::complex<float>
47 static_assert(
sizeof(std::complex<float>)==
sizeof(
lapack_complex_float),
"sizes of lapack_complex_float and std::complex<float> do not match");
49 # ifndef lapack_complex_double
50 # define lapack_complex_double std::complex<double>
52 static_assert(
sizeof(std::complex<double>)==
sizeof(
lapack_complex_double),
"sizes of lapack_complex_double and std::complex<double> do not match");
56 # ifdef MKL_DIRECT_CALL
57 # include <mkl_types.h>
58 # ifndef lapack_complex_float
59 # define lapack_complex_float MKL_Complex8
61 # ifndef lapack_complex_double
62 # define lapack_complex_double MKL_Complex16
67 # ifndef lapack_complex_float
68 # define lapack_complex_float std::complex<float>
70 # ifndef lapack_complex_double
71 # define lapack_complex_double std::complex<double>
76 #include <type_traits>
85 static_assert(
sizeof(
T)==
sizeof(
lapack_complex_float),
"sizes of lapack_complex_float and T given to madness::cblas::to_cptr do not match");
91 static_assert(
sizeof(
T)==
sizeof(
lapack_complex_float),
"sizes of lapack_complex_float and T given to madness::cblas::to_cptr do not match");
98 static_assert(
sizeof(
T)==
sizeof(
lapack_complex_double),
"sizes of lapack_complex_double and T given to madness::cblas::to_zptr do not match");
101 template <
typename T>
104 static_assert(
sizeof(
T)==
sizeof(
lapack_complex_double),
"sizes of lapack_complex_double and T given to madness::cblas::to_zptr do not match");
auto T(World &world, response_space &f) -> response_space
Definition: global_functions.cc:34
#define lapack_complex_double
Definition: lapacke_types.h:50
#define lapack_complex_float
Definition: lapacke_types.h:45
Macros and tools pertaining to the configuration of MADNESS.
const lapack_complex_float * to_cptr(const T *ptr)
Definition: lapacke_types.h:84
const lapack_complex_double * to_zptr(const T *ptr)
Definition: lapacke_types.h:97
File holds all helper structures necessary for the CC_Operator and CC2 class.
Definition: DFParameters.h:10
std::string type(const PairType &n)
Definition: PNOParameters.h:18