File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
docs/docfiles/user_guides Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -165,9 +165,19 @@ to build and install
165
165
Building using custom dpcpp
166
166
~~~~~~~~~~~~~~~~~~~~~~~~~~~
167
167
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.
169
171
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 `.
171
181
172
182
Using dpctl
173
183
-----------
You can’t perform that action at this time.
0 commit comments