Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Leibner
dune-common
Commits
13f1a418
Commit
13f1a418
authored
6 years ago
by
Jö Fahlke
Browse files
Options
Downloads
Patches
Plain Diff
[LoopSimd] Pass the testsuite even for non-fundamental types.
parent
bba7fe4a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/common/simd/loop.hh
+6
-1
6 additions, 1 deletion
dune/common/simd/loop.hh
dune/common/simd/test/CMakeLists.txt
+1
-1
1 addition, 1 deletion
dune/common/simd/test/CMakeLists.txt
with
7 additions
and
2 deletions
dune/common/simd/loop.hh
+
6
−
1
View file @
13f1a418
...
...
@@ -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
];
}
...
...
This diff is collapsed.
Click to expand it.
dune/common/simd/test/CMakeLists.txt
+
1
−
1
View file @
13f1a418
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment