From e2f421874eddd98eefbcf450a109e1f82c016b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B6nig?= <jan.hoenig@fau.de> Date: Thu, 2 Dec 2021 11:52:46 +0100 Subject: [PATCH] Tested aligned kernel. They seem to work. --- tests/test_benchmark.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_benchmark.py b/tests/test_benchmark.py index 31e115e..70af02e 100755 --- a/tests/test_benchmark.py +++ b/tests/test_benchmark.py @@ -10,7 +10,10 @@ from pystencils_benchmark import generate_benchmark, Compiler compilers = (Compiler.GCC, Compiler.GCCdebug, Compiler.Clang) -config_kwargs = ({}, {'cpu_vectorize_info': {'instruction_set': 'best'}}) +config_kwargs = ({}, + {'cpu_vectorize_info': {'instruction_set': 'best'}}, + {'cpu_vectorize_info': {'instruction_set': 'best', + 'assume_aligned': True}}) @pytest.mark.parametrize('compiler', compilers) -- GitLab