File: runtime_const.rst

package info (click to toggle)
pyopencl 2025.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 2,336 kB
  • sloc: python: 21,012; cpp: 7,986; lisp: 3,539; ansic: 523; makefile: 45; sh: 37
file content (30 lines) | stat: -rw-r--r-- 572 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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.

    .. versionadded:: 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