Skip to content

Commit

Permalink
Revered changes to FPGA tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnick83 committed Oct 9, 2023
1 parent 4cf6959 commit d79a403
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/blas/nodes/dot_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,20 +95,23 @@ def test_dot_pure():
assert isinstance(run_test("pure", 64, 1), dace.SDFG)


# TODO: Refactor to use assert or return True/False (pytest deprecation of returning non-booleans)
@xilinx_test()
def test_dot_xilinx():
assert isinstance(run_test("xilinx", 64, 16), dace.SDFG)
return run_test("xilinx", 64, 16)


# TODO: Refactor to use assert or return True/False (pytest deprecation of returning non-booleans)
@xilinx_test()
def test_dot_xilinx_decoupled():
with set_temporary("compiler", "xilinx", "decouple_array_interfaces", value=True):
assert isinstance(run_test("xilinx", 64, 16), dace.SDFG)
return run_test("xilinx", 64, 16)


# TODO: Refactor to use assert or return True/False (pytest deprecation of returning non-booleans)
@intel_fpga_test()
def test_dot_intel_fpga():
assert isinstance(run_test("intel_fpga", 64, 16), dace.SDFG)
return run_test("intel_fpga", 64, 16)


if __name__ == "__main__":
Expand Down

0 comments on commit d79a403

Please sign in to comment.