diff --git a/examples/svm.py b/examples/svm.py index 29dd28f116e11462713741a395d1029a9e5c79aa..a6036ea75fbe582005d0b5a07884ae0a9168da86 100644 --- a/examples/svm.py +++ b/examples/svm.py @@ -43,7 +43,7 @@ if has_coarse_grain_buffer_svm(dev): queue.finish() with svm_ary.map_ro(queue) as ary: - assert(np.array_equal(orig_ary*2, ary)) + assert np.array_equal(orig_ary*2, ary) print(" done.") diff --git a/pyopencl/__init__.py b/pyopencl/__init__.py index 6420e5afbed7ac10f22ca23ea8caf6b36e9b94e6..0e880bc29c86be7ee906bdfdec1bd4e1a68a972a 100644 --- a/pyopencl/__init__.py +++ b/pyopencl/__init__.py @@ -1134,7 +1134,8 @@ def _add_functionality(): # {{{ SVMAllocation if get_cl_header_version() >= (2, 0): - SVMAllocation.__doc__ = """An object whose lifetime is tied to an allocation of shared virtual memory. + SVMAllocation.__doc__ = """An object whose lifetime is tied to an + allocation of shared virtual memory. .. note::