Skip to content

Commit

Permalink
misc: Update/rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebisbas committed May 27, 2024
1 parent ce61dff commit 23b9dbf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/test_xdsl_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,7 @@ def test_consistency_anti_dependences(self, exprs, directions, expected, visit):
op = Operator(eqns)
op.apply(time_M=2)
devito_a = u.data_with_halo[:, :, :]
devito_b = v.data_with_halo[:, :, :]


# Re-initialize
u.data[:, :, :] = 1
v.data[:, :, :] = 1
Expand All @@ -470,9 +469,7 @@ def test_consistency_anti_dependences(self, exprs, directions, expected, visit):
xdsl_op.apply(time_M=2)

xdsl_a = u.data_with_halo[:, :, :]
xdsl_b = v.data_with_halo[:, :, :]

import pdb;pdb.set_trace()
assert np.all(devito_a == xdsl_a)


Expand Down Expand Up @@ -681,7 +678,6 @@ def test_xdsl_mul_eqs_VII():

xdsl_op = Operator([eq0, eq1], opt="xdsl")
xdsl_op.apply(time_M=4, dt=0.1)
import pdb;pdb.set_trace()
assert np.isclose(norm(u), np.linalg.norm(devito_res_u))
assert np.isclose(norm(v), np.linalg.norm(devito_res_v))

Expand Down

0 comments on commit 23b9dbf

Please sign in to comment.