Skip to content
Snippets Groups Projects
Commit de26e24e authored by Matthias Diener's avatar Matthias Diener
Browse files

fix queue

parent 86e26011
No related branches found
No related tags found
No related merge requests found
...@@ -100,8 +100,9 @@ class _PytatoPyOpenCLArrayContextFactory(PytestPyOpenCLArrayContextFactory): ...@@ -100,8 +100,9 @@ class _PytatoPyOpenCLArrayContextFactory(PytestPyOpenCLArrayContextFactory):
force_device_scalars = False force_device_scalars = False
def __call__(self): def __call__(self):
from arraycontext.impl.pytato import PytatoPyOpenCLArrayContext from arraycontext import PytatoPyOpenCLArrayContext
return PytatoPyOpenCLArrayContext(self.get_command_queue()) ctx, queue = self.get_command_queue()
return PytatoPyOpenCLArrayContext(queue)
def __str__(self): def __str__(self):
return ("<Pytato array context factory for <pyopencl.Device '%s' on '%s'>" return ("<Pytato array context factory for <pyopencl.Device '%s' on '%s'>"
......
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