Skip to content

Commit d6aef7d

Browse files
Filled in section for building with custom DPC++
1 parent e44d1a5 commit d6aef7d

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

docs/docfiles/user_guides/QuickStart.rst

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,19 @@ to build and install
165165
Building using custom dpcpp
166166
~~~~~~~~~~~~~~~~~~~~~~~~~~~
167167

168-
.. todo::
168+
It is possible to build dpctl from source using .. _DPC++ toolchain: https://github.com/intel/llvm/blob/sycl/sycl/doc/GetStartedGuide.md
169+
instead of the DPC++ compiler that comes with oneAPI. One reason for doing this
170+
may be to enable support for CUDA devices.
169171

170-
Instructions coming soon.
172+
Following steps in :ref:`Build and Install with setuptools` use command line
173+
option :code:`--sycl-compiler-prefix`, for example:
174+
175+
.. code-block:: bash
176+
177+
python setup.py develop --sycl-compiler-prefix=${DPCPP_ROOT}/llvm/build
178+
179+
Available options and their descriptions can be retrieved using option
180+
:code:`--help`.
171181

172182
Using dpctl
173183
-----------

0 commit comments

Comments
 (0)