34#ifndef EIGEN_BLAS_TYPES_H
35#define EIGEN_BLAS_TYPES_H
44#include "../InternalHeaderCheck.h"
48using dcomplex = std::complex<double>;
49using scomplex = std::complex<float>;
51#if defined(EIGEN_USE_MKL)
52using BlasIndex = MKL_INT;
54#if defined(EIGEN_64BIT_BLAS)
55static_assert(
sizeof(MKL_INT) == 8,
56 "EIGEN_64BIT_BLAS is defined but MKL_INT is 32-bit. Define MKL_ILP64 and link the MKL *_ilp64 "
57 "libraries, or undefine EIGEN_64BIT_BLAS.");
59static_assert(
sizeof(MKL_INT) == 4,
60 "MKL_INT is 64-bit but EIGEN_64BIT_BLAS is not defined. Define EIGEN_64BIT_BLAS to match MKL_ILP64, or "
61 "link the MKL *_lp64 libraries.");
64using BlasIndex = EIGEN_BLAS_INT;