From 045eff190e38cc669cd017abab99fe19a88354fb Mon Sep 17 00:00:00 2001 From: "[6~" Date: Thu, 6 Feb 2020 16:38:26 -0600 Subject: [PATCH] DIsable test_fortran.py:test_matmul on Pocl due to crashes --- test/test_fortran.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/test_fortran.py b/test/test_fortran.py index e08033360..3601e96b7 100644 --- a/test/test_fortran.py +++ b/test/test_fortran.py @@ -275,6 +275,12 @@ def test_tagged(ctx_factory): "i_inner,j_inner", ]) def test_matmul(ctx_factory, buffer_inames): + ctx = ctx_factory() + + if (buffer_inames and + ctx.devices[0].platform.name == "Portable Computing Language"): + pytest.skip("crashes on pocl") + logging.basicConfig(level=logging.INFO) fortran_src = """ @@ -316,7 +322,6 @@ def test_matmul(ctx_factory, buffer_inames): knl = lp.buffer_array(knl, "c", buffer_inames=buffer_inames, init_expression="0", store_expression="base+buffer") - ctx = ctx_factory() lp.auto_test_vs_ref(ref_knl, ctx, knl, parameters=dict(n=128, m=128, ell=128)) -- GitLab