diff --git a/arraycontext/impl/pyopencl/taggable_cl_array.py b/arraycontext/impl/pyopencl/taggable_cl_array.py index 0361200791b8232133298ef1e95f848d92fb8a48..32fa6d7f0425c96586902f1bdf763596413889d9 100644 --- a/arraycontext/impl/pyopencl/taggable_cl_array.py +++ b/arraycontext/impl/pyopencl/taggable_cl_array.py @@ -35,17 +35,19 @@ def _construct_untagged_axes(ndim: int) -> Tuple[Axis, ...]: def _unwrap_cl_array(ary: cla.Array) -> Dict[str, Any]: - return dict(shape=ary.shape, dtype=ary.dtype, - allocator=ary.allocator, - strides=ary.strides, - data=ary.base_data, - offset=ary.offset, - events=ary.events, - _context=ary.context, - _queue=ary.queue, - _size=ary.size, - _fast=True, - ) + return { + "shape": ary.shape, + "dtype": ary.dtype, + "allocator": ary.allocator, + "strides": ary.strides, + "data": ary.base_data, + "offset": ary.offset, + "events": ary.events, + "_context": ary.context, + "_queue": ary.queue, + "_size": ary.size, + "_fast": True, + } # }}}