diff --git a/doc/runtime_const.rst b/doc/runtime_const.rst index 53ebf1fe96fa60a12598a3f776095f94244a7dcf..dc926360a913ee6b83cc1a273bf67989cca74c86 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