From 0ff411fa750b3de5cecaa4d23b3f80261472f525 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Fri, 7 Aug 2015 09:24:02 -0500 Subject: [PATCH] Clarify what CL object equality means --- doc/subst.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/subst.rst b/doc/subst.rst index cb2b9695..4210ab24 100644 --- a/doc/subst.rst +++ b/doc/subst.rst @@ -1,6 +1,8 @@ .. |comparable| replace:: Instances of this class are hashable, and two instances of this class may be compared using *"=="* and *"!="*. - (Hashability was added in version 2011.2.) + (Hashability was added in version 2011.2.) Two objects are considered + the same if the underlying OpenCL object is the same, as established + by C pointer equality. .. |buf-iface| replace:: must implement the Python buffer interface. (e.g. by being an :class:`numpy.ndarray`) -- GitLab