Skip to content
Snippets Groups Projects
Commit d4b7151a authored by Andreas Klöckner's avatar Andreas Klöckner Committed by Andreas Klöckner
Browse files

Add arraycontext._acf for manual test debugging

parent 1f5d92a8
No related branches found
No related tags found
No related merge requests found
......@@ -83,4 +83,14 @@ __all__ = (
)
def _acf():
"""A tiny undocumented function to pass to tests that take an ``actx_factory``
argument when running them from the command line.
"""
import pyopencl as cl
context = cl._csc()
queue = cl.CommandQueue(context)
return PyOpenCLArrayContext(queue)
# vim: foldmethod=marker
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment