From a60b4ed125fdbd38c31813bb1530826e54e610b1 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Thu, 29 Oct 2020 13:14:53 -0500 Subject: [PATCH] Revert "Remove disputed note about read-after-read sync, gh-303" This reverts commit ec5ca5d58fa5c2b7adc4e877870015ddfaf5ab31. --- pyopencl/array.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyopencl/array.py b/pyopencl/array.py index bf58c965..d419f62b 100644 --- a/pyopencl/array.py +++ b/pyopencl/array.py @@ -412,6 +412,12 @@ class Array: care of its own operation ordering. The facilities in this section make this possible. + .. note:: + + Currently, read and write events are not distinguished. + As a result, e.g., read-only operations will needlessly wait on other + read-only operations (i.e., executed among asynchronous queues). + .. versionadded:: 2014.1.1 .. attribute:: events -- GitLab