Commit 79eabaf7 authored by Jö Fahlke's avatar Jö Fahlke

[!12] Avoid use and specialization of checkMask() in tests.

Merge branch 'avoid-checkmask' into 'master'

ref:extensions/dune-vectorclass Addresses: [core/dune-common#142]

See merge request [!12]

  [core/dune-common#142]: gitlab.dune-project.org/core/dune-common/issues/142
  [!12]: gitlab.dune-project.org/extensions/dune-vectorclass/merge_requests/12
parents c8c92a2d 2417075f
Pipeline #16201 passed with stage
in 5 minutes and 52 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