From 4d85ce77d1aa303e00efa795e298cbb88c1533be Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Sun, 13 Sep 2020 13:45:03 -0500
Subject: [PATCH] Document NameVersion, DeviceTopologyAmd

---
 doc/runtime_const.rst | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/doc/runtime_const.rst b/doc/runtime_const.rst
index 53ebf1fe..dc926360 100644
--- a/doc/runtime_const.rst
+++ b/doc/runtime_const.rst
@@ -4,3 +4,25 @@ OpenCL Runtime: Constants
 .. currentmodule:: pyopencl
 
 .. include:: constants.inc
+
+.. class:: NameVersion
+    Describes the version of a specific feature.
+
+    .. note::
+
+        Only available with OpenCL 3.0 or newer.
+
+    .. versionaddedd:: 2020.3
+
+    .. method:: __init__(version, name)
+    .. attribute:: version
+    .. attribute:: name
+
+.. class:: DeviceTopologyAmd
+    .. method:: __init__(bus, device, function)
+    .. attribute:: type
+    .. attribute:: bus
+    .. attribute:: device
+    .. attribute:: function
+
+.. vim: shiftwidth=4
-- 
GitLab