Skip to content
Snippets Groups Projects
Commit 4d85ce77 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Document NameVersion, DeviceTopologyAmd

parent 92cee803
No related branches found
No related tags found
1 merge request!124Opencl 3
...@@ -4,3 +4,25 @@ OpenCL Runtime: Constants ...@@ -4,3 +4,25 @@ OpenCL Runtime: Constants
.. currentmodule:: pyopencl .. currentmodule:: pyopencl
.. include:: constants.inc .. 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment