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
Core Modules
dune-common
Commits
3301b95a
There was a problem fetching the pipeline summary.
Commit
3301b95a
authored
6 years ago
by
Jö Fahlke
Browse files
Options
Downloads
Plain Diff
Merge branch 'aligned-number-simd-test' into 'master'
[AlignedNumber] Run the SIMD testsuite. Closes
#123
See merge request
!511
parents
134ca303
7662149d
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!511
[AlignedNumber] Run the SIMD testsuite.
Pipeline
#
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dune/common/debugalign.hh
+1
-1
1 addition, 1 deletion
dune/common/debugalign.hh
dune/common/test/CMakeLists.txt
+4
-0
4 additions, 0 deletions
dune/common/test/CMakeLists.txt
dune/common/test/debugalignsimdtest.cc
+18
-0
18 additions, 0 deletions
dune/common/test/debugalignsimdtest.cc
with
23 additions
and
1 deletion
dune/common/debugalign.hh
+
1
−
1
View file @
3301b95a
...
...
@@ -460,7 +460,7 @@ namespace Dune {
}
template
<
class
T
,
std
::
size_t
align
>
const
T
&
lane
(
ADLTag
<
5
>
,
std
::
size_t
l
,
const
AlignedNumber
<
T
,
align
>
&
v
)
T
lane
(
ADLTag
<
5
>
,
std
::
size_t
l
,
const
AlignedNumber
<
T
,
align
>
&
v
)
{
assert
(
l
==
0
);
return
v
.
value
();
...
...
This diff is collapsed.
Click to expand it.
dune/common/test/CMakeLists.txt
+
4
−
0
View file @
3301b95a
...
...
@@ -77,6 +77,10 @@ dune_add_test(SOURCES debugaligntest.cc
LINK_LIBRARIES dunecommon
LABELS quick
)
dune_add_test
(
SOURCES debugalignsimdtest.cc
LINK_LIBRARIES dunecommon
LABELS quick
)
dune_add_test
(
SOURCES densematrixassignmenttest.cc
LINK_LIBRARIES dunecommon
LABELS quick
)
...
...
This diff is collapsed.
Click to expand it.
dune/common/test/debugalignsimdtest.cc
0 → 100644
+
18
−
0
View file @
3301b95a
#include
<config.h>
#include
<cstdlib>
#include
<dune/common/debugalign.hh>
#include
<dune/common/parallel/mpihelper.hh>
#include
<dune/common/simd/test.hh>
int
main
(
int
argc
,
char
**
argv
)
{
Dune
::
MPIHelper
::
instance
(
argc
,
argv
);
Dune
::
Simd
::
UnitTest
test
;
test
.
checkVector
<
Dune
::
AlignedNumber
<
double
>
>
();
return
test
.
good
()
?
EXIT_SUCCESS
:
EXIT_FAILURE
;
}
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