From b351103c292542bebc49ff9b1ed928923b373223 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Tue, 2 Oct 2018 21:07:56 +0100 Subject: [PATCH] Hadrons: eigenpack load module with 32bit I/O --- Hadrons/EigenPack.hpp | 3 ++- Hadrons/Modules/MIO/LoadEigenPack.cc | 2 +- Hadrons/Modules/MIO/LoadEigenPack.hpp | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Hadrons/EigenPack.hpp b/Hadrons/EigenPack.hpp index 5388851d..4c122a37 100644 --- a/Hadrons/EigenPack.hpp +++ b/Hadrons/EigenPack.hpp @@ -228,7 +228,8 @@ template class EigenPack { public: - typedef F Field; + typedef F Field; + typedef FIo FieldIo; public: std::vector eval; std::vector evec; diff --git a/Hadrons/Modules/MIO/LoadEigenPack.cc b/Hadrons/Modules/MIO/LoadEigenPack.cc index 7da4e14a..f0ae63c3 100644 --- a/Hadrons/Modules/MIO/LoadEigenPack.cc +++ b/Hadrons/Modules/MIO/LoadEigenPack.cc @@ -32,4 +32,4 @@ using namespace Hadrons; using namespace MIO; template class Grid::Hadrons::MIO::TLoadEigenPack>; - +template class Grid::Hadrons::MIO::TLoadEigenPack>; diff --git a/Hadrons/Modules/MIO/LoadEigenPack.hpp b/Hadrons/Modules/MIO/LoadEigenPack.hpp index 83ef1d0c..330d35ad 100644 --- a/Hadrons/Modules/MIO/LoadEigenPack.hpp +++ b/Hadrons/Modules/MIO/LoadEigenPack.hpp @@ -54,7 +54,7 @@ template class TLoadEigenPack: public Module { public: - typedef EigenPack BasePack; + typedef EigenPack BasePack; public: // constructor TLoadEigenPack(const std::string name); @@ -70,6 +70,7 @@ public: }; MODULE_REGISTER_TMP(LoadFermionEigenPack, TLoadEigenPack>, MIO); +MODULE_REGISTER_TMP(LoadFermionEigenPackIo32, ARG(TLoadEigenPack>), MIO); /****************************************************************************** * TLoadEigenPack implementation *