Skip to content
Snippets Groups Projects

FIX Quicktests

Merged Markus Holzer requested to merge holzer/pystencils:test_vectorisation into master
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -43,6 +43,7 @@ def test_inplace_update():
@@ -43,6 +43,7 @@ def test_inplace_update():
f2 @= 2 * s.tmp0
f2 @= 2 * s.tmp0
ast = ps.create_kernel(update_rule, cpu_vectorize_info={'instruction_set': 'sse'})
ast = ps.create_kernel(update_rule, cpu_vectorize_info={'instruction_set': 'sse'})
 
print(ps.show_code(ast))
kernel = ast.compile()
kernel = ast.compile()
kernel(f=arr)
kernel(f=arr)
np.testing.assert_equal(arr, 2)
np.testing.assert_equal(arr, 2)
Loading