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:
11
11
* dpnp 0.10.1 (`Intel Python DPNP `_)
12
12
* `dpcpp-llvm-spirv `_ (SPIRV generation from LLVM IR)
13
13
* `llvmdev `_ (LLVM IR generation)
14
- * `spirv-tools `_
15
14
* `packaging `_
16
15
* `scipy `_ (for testing)
17
16
* `pytest `_ (for testing)
@@ -59,7 +58,7 @@ installed in conda environment:
59
58
.. code-block :: bash
60
59
61
60
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
63
62
conda activate numba-dpex-env
64
63
65
64
Activate DPC++ compiler:
@@ -150,7 +149,6 @@ Refer to :ref:`Docker <docker>` section for more options.
150
149
.. _`Intel Python dpnp` : https://github.com/IntelPython/dpnp
151
150
.. _`dpcpp-llvm-spirv` : https://github.com/IntelPython/dpcpp-llvm-spirv
152
151
.. _`llvmdev` : https://anaconda.org/intel/llvmdev
153
- .. _`spirv-tools` : https://anaconda.org/intel/spirv-tools
154
152
.. _`packaging` : https://packaging.pypa.io/
155
153
.. _`scipy` : https://anaconda.org/intel/scipy
156
154
.. _`pytest` : https://docs.pytest.org
Original file line number Diff line number Diff line change @@ -21,21 +21,6 @@ Example usage of atomic operations
21
21
The ``numba_dpex.atomic.add `` function is analogous to The
22
22
``numba.cuda.atomic.add `` provided by the ``numba.cuda `` backend.
23
23
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
-
39
24
Full examples
40
25
-------------
41
26
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ to get the latest production releases.
19
19
.. code-block :: bash
20
20
21
21
conda create -n numba-dpex-env \
22
- numba-dpex dpnp dpctl dpcpp-llvm-spirv spirv-tools \
22
+ numba-dpex dpnp dpctl dpcpp-llvm-spirv \
23
23
-c intel -c conda-forge
24
24
25
25
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.
28
28
.. code-block :: bash
29
29
30
30
conda create -n numba-dpex-env \
31
- numba-dpex dpnp dpctl dpcpp-llvm-spirv spirv-tools \
31
+ numba-dpex dpnp dpctl dpcpp-llvm-spirv \
32
32
-c dppy/label/dev -c intel -c conda-forge
33
33
34
34
@@ -70,7 +70,7 @@ first step.
70
70
71
71
# Create a conda environment that hass needed dependencies installed
72
72
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 \
74
74
-c intel -c conda-forge
75
75
# Activate the environment
76
76
conda activate numba-dpex-env
Original file line number Diff line number Diff line change @@ -21,23 +21,6 @@ Example usage of atomic operations
21
21
The ``numba_dpex.atomic.add `` function is analogous to The
22
22
``numba.cuda.atomic.add `` provided by the ``numba.cuda `` backend.
23
23
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
-
41
24
Full examples
42
25
-------------
43
26
You can’t perform that action at this time.
0 commit comments