Commit 2417075f authored by Jö Fahlke's avatar Jö Fahlke

Avoid use and specialization of checkMask() in tests.

Addresses: core/dune-common#142
parent c8c92a2d
Pipeline #16199 passed with stage
in 5 minutes and 55 seconds
......@@ -17,6 +17,7 @@ int main() {
#cmake @template@
#if MAX_VECTOR_SIZE >= @VECTOR_SIZE@
test.checkVector<Vec@LANES@@TYPE@, Rebinds>();
test.checkVector<Vec@LANES@@TYPE@b, Rebinds>();
#endif // MAX_VECTOR_SIZE >= @VECTOR_SIZE@
#cmake @endtemplate@
......
......@@ -10,7 +10,7 @@
#include <dune/vectorclass/vectorclass.hh>
using Rebinds = Dune::TypeList<int, long, float, double>;
using Rebinds = Dune::TypeList<bool, int, long, float, double>;
namespace Dune {
namespace Simd {
......@@ -18,7 +18,7 @@ namespace Dune {
#cmake @template@
#if MAX_VECTOR_SIZE >= @VECTOR_SIZE@
extern template void UnitTest::checkVector<Vec@LANES@@TYPE@, Rebinds>();
extern template void UnitTest::checkMask<Vec@LANES@@TYPE@b, Rebinds>();
extern template void UnitTest::checkVector<Vec@LANES@@TYPE@b, Rebinds>();
#endif // MAX_VECTOR_SIZE >= @VECTOR_SIZE@
#cmake @endtemplate@
......
......@@ -8,7 +8,7 @@ namespace Dune {
namespace Simd {
#if MAX_VECTOR_SIZE >= @VECTOR_SIZE@
template void UnitTest::checkMask<Vec@LANES@@TYPE@b, Rebinds>();
template void UnitTest::checkVector<Vec@LANES@@TYPE@b, Rebinds>();
#endif // MAX_VECTOR_SIZE >= @VECTOR_SIZE@
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment