Skip to content

Commit 330ca84

Browse files
author
Diptorup Deb
committed
Fix hyperlinks in doctrings.
1 parent c483f38 commit 330ca84

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

‎dpctl/__init__.py‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@
1818
**Data Parallel Control (dpctl)** is a Python abstraction layer over SYCL.
1919
2020
Dpctl implements a subset of SYCL's API providing wrappers for the
21-
SYCL runtime classes described in `Section 4.6`_ of the `SYCL 2020 spec`_.
22-
Note that the SYCL ``device_selector`` class is not implemented, instead
23-
there are device selection helper functions that can be used to simulate
24-
the same behavior. Dpctl implements the ``ONEPI::filter_selector`` extension
25-
that is included in Intel's DPC++ SYCL compiler.
21+
SYCL runtime classes described in :sycl_runtime_classes:`Section 4.6 <>` of
22+
the :sycl_spec_2020:`SYCL 2020 spec <>`. Note that the SYCL
23+
``device_selector`` class is not implemented, instead there are device
24+
selection helper functions that can be used to simulate the same behavior.
25+
Dpctl implements the ``ONEPI::filter_selector`` extension that is included
26+
in Intel's DPC++ SYCL compiler.
2627
2728
The module also includes a global SYCL queue manager. The queue manager
2829
provides convenience functions to create a global instance of

‎dpctl/_sycl_context.pyx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ cdef class _SyclContext:
8686
cdef class SyclContext(_SyclContext):
8787
"""
8888
SyclContext(arg=None)
89-
A Python wrapper for the `sycl context`_ C++ class.
89+
A Python wrapper for the :sycl_context:`sycl::context <>` C++ class.
9090
9191
There are multiple ways to create a :class:`dpctl.SyclContext` object:
9292

‎dpctl/_sycl_device.pyx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,13 @@ cdef void _init_helper(_SyclDevice device, DPCTLSyclDeviceRef DRef):
175175

176176
cdef class SyclDevice(_SyclDevice):
177177
""" SyclDevice(arg=None)
178-
Python equivalent for cl::sycl::device class.
178+
A Python wrapper for the :sycl_device:`sycl::device <>` C++ class.
179179
180180
There are two ways of creating a SyclDevice instance:
181181
182182
- by directly passing in a filter string to the class
183183
constructor. The filter string needs to conform to the
184-
`DPC++ filter selector SYCL extension <https://bit.ly/37kqANT>`_.
184+
:oneapi_filter_selection:`DPC++ filter selector SYCL extension <>`.
185185
186186
:Example:
187187
.. code-block:: python

0 commit comments

Comments
 (0)