From f9fa4d8e25316f62742fde393a82d27dc1df11c6 Mon Sep 17 00:00:00 2001 From: markus holzer <markus.holzer@fau.de> Date: Tue, 8 Dec 2020 13:26:45 +0100 Subject: [PATCH] test sse for vectorisation --- pystencils_tests/test_vectorization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pystencils_tests/test_vectorization.py b/pystencils_tests/test_vectorization.py index 057402c33..b89d26db9 100644 --- a/pystencils_tests/test_vectorization.py +++ b/pystencils_tests/test_vectorization.py @@ -42,7 +42,7 @@ def test_inplace_update(): f1 @= 2 * s.tmp0 f2 @= 2 * s.tmp0 - ast = ps.create_kernel(update_rule, cpu_vectorize_info=True) + ast = ps.create_kernel(update_rule, cpu_vectorize_info={'instruction_set': 'sse'}) kernel = ast.compile() kernel(f=arr) np.testing.assert_equal(arr, 2) -- GitLab