Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-codegen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Christian Heinigk
dune-codegen
Commits
72029923
Commit
72029923
authored
8 years ago
by
Dominic Kempf
Browse files
Options
Downloads
Patches
Plain Diff
Adjust test suite to test vectorization
parent
4b1eb0bc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
python/dune/perftool/options.py
+1
-0
1 addition, 0 deletions
python/dune/perftool/options.py
test/sumfact/mass/mass.mini
+5
-1
5 additions, 1 deletion
test/sumfact/mass/mass.mini
with
6 additions
and
1 deletion
python/dune/perftool/options.py
+
1
−
0
View file @
72029923
...
@@ -43,6 +43,7 @@ def get_form_compiler_arguments():
...
@@ -43,6 +43,7 @@ def get_form_compiler_arguments():
# TODO at some point this help description should be updated
# TODO at some point this help description should be updated
parser
.
add_argument
(
"
--sumfact
"
,
action
=
"
store_true
"
,
help
=
"
Use sumfactorization
"
)
parser
.
add_argument
(
"
--sumfact
"
,
action
=
"
store_true
"
,
help
=
"
Use sumfactorization
"
)
parser
.
add_argument
(
"
--sumfact-alignment
"
,
type
=
int
,
help
=
"
Alignment used in sumfactorization
"
,
default
=
64
)
parser
.
add_argument
(
"
--sumfact-alignment
"
,
type
=
int
,
help
=
"
Alignment used in sumfactorization
"
,
default
=
64
)
parser
.
add_argument
(
"
--vectorize
"
,
action
=
"
store_true
"
,
help
=
"
whether to generate code with explicit vectorization
"
)
# Modify the positional argument to not be a list
# Modify the positional argument to not be a list
args
=
vars
(
parser
.
parse_args
())
args
=
vars
(
parser
.
parse_args
())
...
...
This diff is collapsed.
Click to expand it.
test/sumfact/mass/mass.mini
+
5
−
1
View file @
72029923
__name = sumfact_mass_{__exec_suffix}
__name = sumfact_mass_{__exec_suffix}
__exec_suffix = numdiff, symdiff | expand num
__exec_suffix = {diff_suffix}_{vec_suffix}
diff_suffix = numdiff, symdiff | expand num
vec_suffix = vec, nonvec | expand vec
cells = 1 1
cells = 1 1
extension = 1. 1.
extension = 1. 1.
...
@@ -10,4 +13,5 @@ extension = vtu
...
@@ -10,4 +13,5 @@ extension = vtu
[formcompiler]
[formcompiler]
numerical_jacobian = 1, 0 | expand num
numerical_jacobian = 1, 0 | expand num
vectorize = 1, 0 | expand vec
sumfact = 1
sumfact = 1
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