Skip to content
Snippets Groups Projects
Commit f4218729 authored by Markus Holzer's avatar Markus Holzer
Browse files

Fix windows

parent b3745772
No related branches found
No related tags found
1 merge request!275WIP: Revamp the type system
......@@ -33,7 +33,8 @@ def test_two_arguments(dtype, func, target):
dh.run_kernel(kernel)
dh.all_to_cpu()
np.testing.assert_allclose(dh.gather_array("x")[0, 0], float(func(1.0, 2.0).evalf()))
np.testing.assert_allclose(dh.gather_array("x")[0, 0], float(func(1.0, 2.0).evalf()),
13 if dtype == 'float64' else 5)
@pytest.mark.parametrize('dtype', ["float64", "float32"])
......
......@@ -77,6 +77,7 @@ def test_strided(instruction_set, dtype):
default_number_float=npdtype)
ast = ps.create_kernel(update_rule, config=config)
assert len(warn) == 0
# ps.show_code(ast)
func = ast.compile()
ref_func = ps.create_kernel(update_rule).compile()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment