提交 12213d05 authored 作者: Ricardo Vieira's avatar Ricardo Vieira 提交者: Ricardo Vieira

Prioritize gemv/gerc over dot22scalar

The marked xfail test was failing because Ger wasn't introduced, not because of the complex dtype.
上级 20ff202e
...@@ -758,7 +758,7 @@ blas_optdb.register( ...@@ -758,7 +758,7 @@ blas_optdb.register(
ignore_newtrees=False, ignore_newtrees=False,
), ),
"fast_run", "fast_run",
position=15, position=11,
) )
...@@ -903,7 +903,7 @@ blas_optdb.register( ...@@ -903,7 +903,7 @@ blas_optdb.register(
"local_dot22_to_dot22scalar", "local_dot22_to_dot22scalar",
in2out(local_dot22_to_dot22scalar), in2out(local_dot22_to_dot22scalar),
"fast_run", "fast_run",
position=11, position=12,
) )
......
...@@ -1903,17 +1903,9 @@ class TestGer(unittest_tools.OptimizationTestMixin): ...@@ -1903,17 +1903,9 @@ class TestGer(unittest_tools.OptimizationTestMixin):
def test_f64_4_5(self): def test_f64_4_5(self):
return self.given_dtype("float64", 4, 5, destructive=False) return self.given_dtype("float64", 4, 5, destructive=False)
@pytest.mark.xfail(
condition=config.floatX == "float32",
reason="GER from complex64 is not introduced in float32 mode",
)
def test_c64_7_1(self): def test_c64_7_1(self):
return self.given_dtype("complex64", 7, 1) return self.given_dtype("complex64", 7, 1)
@pytest.mark.xfail(
raises=AssertionError,
reason="Unclear how this test was supposed to work with complex128",
)
def test_c128_1_9(self): def test_c128_1_9(self):
return self.given_dtype("complex128", 1, 9) return self.given_dtype("complex128", 1, 9)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论