Skip to content
Snippets Groups Projects
Commit 1f60f867 authored by Jan Hönig's avatar Jan Hönig
Browse files

Fixed rng test

parent 169a3e5f
No related branches found
No related tags found
No related merge requests found
Pipeline #37411 failed
...@@ -102,8 +102,7 @@ def test_vec_maskstore(instruction_set, dtype): ...@@ -102,8 +102,7 @@ def test_vec_maskstore(instruction_set, dtype):
c = [Conditional(data.center() < 1.0, Block([SympyAssignment(data.center(), 2.0)]))] c = [Conditional(data.center() < 1.0, Block([SympyAssignment(data.center(), 2.0)]))]
assignmets = NodeCollection(c) assignmets = NodeCollection(c)
ast = ps.create_kernel(assignmets, target=Target.CPU, ast = ps.create_kernel(assignmets, target=Target.CPU, cpu_vectorize_info={'instruction_set': instruction_set})
cpu_vectorize_info={'instruction_set': instruction_set})
kernel = ast.compile() kernel = ast.compile()
kernel(data=data_arr) kernel(data=data_arr)
np.testing.assert_equal(data_arr[:3, :], 2.0) np.testing.assert_equal(data_arr[:3, :], 2.0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment