File tree Expand file tree Collapse file tree 4 files changed +4
-38
lines changed
user_guide/kernel_programming Expand file tree Collapse file tree 4 files changed +4
-38
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ Numba-dpex depends on following components:
1111* dpnp 0.10.1 (`Intel Python DPNP `_)
1212* `dpcpp-llvm-spirv `_ (SPIRV generation from LLVM IR)
1313* `llvmdev `_ (LLVM IR generation)
14- * `spirv-tools `_
1514* `packaging `_
1615* `scipy `_ (for testing)
1716* `pytest `_ (for testing)
@@ -59,7 +58,7 @@ installed in conda environment:
5958.. code-block :: bash
6059
6160 export ONEAPI_ROOT=/opt/intel/oneapi
62- conda create -n numba-dpex-env -c ${ONEAPI_ROOT} /conda_channel python=3.7 dpctl dpnp numba spirv-tools dpcpp-llvm-spirv llvmdev pytest
61+ conda create -n numba-dpex-env -c ${ONEAPI_ROOT} /conda_channel python=3.7 dpctl dpnp numba dpcpp-llvm-spirv llvmdev pytest
6362 conda activate numba-dpex-env
6463
6564 Activate DPC++ compiler:
@@ -150,7 +149,6 @@ Refer to :ref:`Docker <docker>` section for more options.
150149.. _`Intel Python dpnp` : https://github.com/IntelPython/dpnp
151150.. _`dpcpp-llvm-spirv` : https://github.com/IntelPython/dpcpp-llvm-spirv
152151.. _`llvmdev` : https://anaconda.org/intel/llvmdev
153- .. _`spirv-tools` : https://anaconda.org/intel/spirv-tools
154152.. _`packaging` : https://packaging.pypa.io/
155153.. _`scipy` : https://anaconda.org/intel/scipy
156154.. _`pytest` : https://docs.pytest.org
Original file line number Diff line number Diff line change @@ -21,21 +21,6 @@ Example usage of atomic operations
2121 The ``numba_dpex.atomic.add `` function is analogous to The
2222 ``numba.cuda.atomic.add `` provided by the ``numba.cuda `` backend.
2323
24- Generating Native FP Atomics
25- ----------------------------
26- Numba-dpex supports generating native floating-point atomics.
27- This feature is experimental. Users will need to provide
28- the following environment variables to activate it.
29-
30- NUMBA_DPEX_ACTIVATE_ATOMICS_FP_NATIVE=1
31-
32- Example command:
33-
34- .. code-block :: bash
35-
36- NUMBA_DPEX_ACTIVATE_ATOMICS_FP_NATIVE=1 \
37- python program.py
38-
3924Full examples
4025-------------
4126
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ to get the latest production releases.
1919.. code-block :: bash
2020
2121 conda create -n numba-dpex-env \
22- numba-dpex dpnp dpctl dpcpp-llvm-spirv spirv-tools \
22+ numba-dpex dpnp dpctl dpcpp-llvm-spirv \
2323 -c intel -c conda-forge
2424
2525 To try out the bleeding edge, the latest packages built from tip of the main
@@ -28,7 +28,7 @@ source trunk can be installed from the ``dppy/label/dev`` conda channel.
2828.. code-block :: bash
2929
3030 conda create -n numba-dpex-env \
31- numba-dpex dpnp dpctl dpcpp-llvm-spirv spirv-tools \
31+ numba-dpex dpnp dpctl dpcpp-llvm-spirv \
3232 -c dppy/label/dev -c intel -c conda-forge
3333
3434
@@ -70,7 +70,7 @@ first step.
7070
7171 # Create a conda environment that hass needed dependencies installed
7272 conda create -n numba-dpex-env \
73- dpctl dpnp numba spirv-tools dpcpp-llvm-spirv llvmdev pytest \
73+ dpctl dpnp numba dpcpp-llvm-spirv llvmdev pytest \
7474 -c intel -c conda-forge
7575 # Activate the environment
7676 conda activate numba-dpex-env
Original file line number Diff line number Diff line change @@ -21,23 +21,6 @@ Example usage of atomic operations
2121 The ``numba_dpex.atomic.add `` function is analogous to The
2222 ``numba.cuda.atomic.add `` provided by the ``numba.cuda `` backend.
2323
24- Generating Native FP Atomics
25- ----------------------------
26- Numba-dpex supports generating native floating-point atomics.
27- This feature is experimental. Users will need to provide
28- the following environment variables to activate it.
29-
30- NUMBA_DPEX_ACTIVATE_ATOMICS_FP_NATIVE=1
31- NUMBA_DPEX_LLVM_SPIRV_ROOT=/path/to/dpcpp/provided/llvm_spirv
32-
33- Example command:
34-
35- .. code-block :: bash
36-
37- NUMBA_DPEX_ACTIVATE_ATOMICS_FP_NATIVE=1 \
38- NUMBA_DPEX_LLVM_SPIRV_ROOT=/path/to/dpcpp/provided/llvm_spirv \
39- python program.py
40-
4124Full examples
4225-------------
4326
You can’t perform that action at this time.
0 commit comments