#pragma once

#cmakedefine ENABLE_CXX
#cmakedefine ENABLE_BLAS

#cmakedefine BLA_VENDOR_MKL
#cmakedefine BLA_VENDOR_ESSL
#cmakedefine BLA_VENDOR_BLIS
#cmakedefine USE_BLIS
#cmakedefine USE_DPCPP

#if defined(ENABLE_CXX) && defined(ENABLE_BLAS)
  #include "lapack.hh"
#else
#if defined(ENABLE_BLAS)

#define BLA_LAPACK_INT ${BLA_LAPACK_INT}
#define BLA_LAPACK_COMPLEX8 ${BLA_LAPACK_COMPLEX8}
#define BLA_LAPACK_COMPLEX16 ${BLA_LAPACK_COMPLEX16}

#if defined(BLA_VENDOR_MKL)
  #include "mkl.h"
#elif defined(BLA_VENDOR_ESSL)
  #include "essl.h"
#elif defined(BLA_VENDOR_BLIS)
  #include "blis/cblas.h"  
#endif

#endif //ENABLE_BLAS

#endif //ENABLE_CXX/BLAS
