Skip to content
Snippets Groups Projects
Commit 13f1a418 authored by Jö Fahlke's avatar Jö Fahlke
Browse files

[LoopSimd] Pass the testsuite even for non-fundamental types.

parent bba7fe4a
No related branches found
No related tags found
No related merge requests found
......@@ -285,7 +285,12 @@ namespace Dune {
struct LaneCount<LoopSIMD<T,S>> : index_constant<S> {};
template<class T, std::size_t S>
T lane(ADLTag<5>, std::size_t l, const LoopSIMD<T,S> &v) {
T&& lane(ADLTag<5>, std::size_t l, LoopSIMD<T,S> &&v) {
return std::move(v[l]);
}
template<class T, std::size_t S>
const T& lane(ADLTag<5>, std::size_t l, const LoopSIMD<T,S> &v) {
return v[l];
}
......
......@@ -13,7 +13,7 @@ set(TYPES
wchar_t char16_t char32_t
bool
float double "long double"
# std::complex<float> std::complex<double> "std::complex<long double>"
std::complex<float> std::complex<double> "std::complex<long double>"
)
# Generate files with instanciations, external declarations, and also the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment