MueLu_Test_ETI.hpp does not respect Tpetra instantations
Created by: mhoemmen
@trilinos/muelu @trilinos/xpetra @trilinos/tpetra
muelu/test/unit_tests/MueLu_Test_ETI.hpp
instantiates a test for enabled (LO, GO, Node) combinations. It does check Tpetra macros for whether Node types are enabled, but it does not correctly check Tpetra macros for whether Scalar=double
or given (LO, GO) type combinations are enabled. This causes build errors, e.g., when turning off GO=int
to speed up a CUDA build.
Also, muelu/src/Utils/MueLu_ETI_4arg.hpp
instantiates Tpetra for Serial or OpenMP Node types, even if neither of those Node types is enabled. (It would be nice to speed up CUDA builds by insisting that only the CUDA Node type get instantiated.)
I'm working on a fix now.