diff --git a/include/blacspp/types.hpp b/include/blacspp/types.hpp index 994faed..25e36d4 100644 --- a/include/blacspp/types.hpp +++ b/include/blacspp/types.hpp @@ -7,13 +7,18 @@ #pragma once #include +#include #include #include namespace blacspp { /// Integer type for BLACS operations +#if defined(BLAS_ILP64) + using blacs_int = int64_t; +#else using blacs_int = int32_t; +#endif /// Type for single precision complex floating point numbers using scomplex = std::complex< float >;