diff --git a/test/test_loopy.py b/test/test_loopy.py index bf808432bfa6fd4e91b63b78b369ca5b2c3d6eea..4c3dbd6d0c723d7be14c3737ae63ad02c722d418 100644 --- a/test/test_loopy.py +++ b/test/test_loopy.py @@ -1494,25 +1494,20 @@ def test_call_with_no_returned_value(ctx_factory): # }}} -# {{{ call with no return values and options - -def test_call_with_options(ctx_factory): - import pymbolic.primitives as p - ctx = ctx_factory() - queue = cl.CommandQueue(ctx) +# {{{ call with no return values and options +def test_call_with_options(): knl = lp.make_kernel( "{:}", "f() {id=init}" ) - from library_for_test import no_ret_f_mangler, no_ret_f_preamble_gen + from library_for_test import no_ret_f_mangler knl = lp.register_function_manglers(knl, [no_ret_f_mangler]) print(lp.generate_code_v2(knl).device_code()) - # }}}