Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions grudge/array_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class PyOpenCLArrayContext(_PyOpenCLArrayContextBase):
any, for now.)
"""
def __init__(self, queue: "pyopencl.CommandQueue",
allocator: Optional["pyopencl.tools.AllocatorInterface"] = None,
allocator: Optional["pyopencl.tools.AllocatorBase"] = None,
wait_event_queue_length: Optional[int] = None,
force_device_scalars: bool = False) -> None:

Expand Down Expand Up @@ -430,7 +430,7 @@ class MPIPyOpenCLArrayContext(PyOpenCLArrayContext, MPIBasedArrayContext):
def __init__(self,
mpi_communicator,
queue: "pyopencl.CommandQueue",
*, allocator: Optional["pyopencl.tools.AllocatorInterface"] = None,
*, allocator: Optional["pyopencl.tools.AllocatorBase"] = None,
wait_event_queue_length: Optional[int] = None,
force_device_scalars: bool = False) -> None:
"""
Expand Down