amd: copies w/o sdma (#14036)

* amd: copies w/o sdma

* as_args

* fixes

* f
This commit is contained in:
nimlgen
2026-01-06 21:15:58 +03:00
committed by GitHub
parent 7fb18f7e47
commit 325f4006ff
6 changed files with 30 additions and 27 deletions

View File

@@ -113,7 +113,7 @@ class TestGraph(unittest.TestCase):
def skip_if_not_multigraph(self):
graph = g.func if isinstance(g:=(d:=Device[Device.DEFAULT]).graph, functools.partial) else g
if not issubclass(graph, MultiGraphRunner): self.skipTest("graph is not supported (not MultiGraphRunner)")
if not hasattr(d.allocator, '_transfer'): self.skipTest("device is not supported (no transfers)")
if not hasattr(d.allocator, '_transfer') or not d.allocator.supports_transfer: self.skipTest("device is not supported (no transfers)")
def test_order_copy_writed(self):
self.skip_if_not_multigraph()