Skip to content
Snippets Groups Projects
Commit 72029923 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Adjust test suite to test vectorization

parent 4b1eb0bc
No related branches found
No related tags found
No related merge requests found
...@@ -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())
......
__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
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