You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 25, 2023. It is now read-only.
NUMBA v0.48 : The DPPy backend has only been tested for NUMBA v0.48.
36
-
The included install script downloads and applies the
37
-
DDPy patch to the correct NUMBA version.
32
+
- NUMBA v0.48 : The DPPy backend has only been tested for NUMBA v0.48. The included install script downloads and applies the DDPy patch to the correct NUMBA version.
38
33
39
-
LLVM-SPIRV translator: Used for SPIRV generation from LLVM IR.
34
+
- LLVM-SPIRV translator: Used for SPIRV generation from LLVM IR.
40
35
41
-
SPIRV-Tools : Used internally for code-generation. The provided install
42
-
script would handle downloading and installing the
43
-
required version.
36
+
- SPIRV-Tools : Used internally for code-generation.
44
37
45
-
LLVMDEV : To support LLVM IR generation.
38
+
- LLVMDEV : To support LLVM IR generation.
46
39
47
-
Others : All existing dependecies for NUMBA, such as llvmlite,
48
-
also apply to DPPy.
40
+
- Others : All existing dependecies for NUMBA, such as llvmlite, also apply to DPPy.
49
41
50
42
==================
51
43
3. How to install?
52
44
==================
45
+
Install Pre-requisites
46
+
*************************
47
+
Make sure the dependencies of NUMBA-DPPY are installed in the system, for convenience
48
+
and to make sure the dependencies are installed with consistent version of LLVM we provide
49
+
installation script that will create a CONDA environment and install LLVM-SPIRV translator,
50
+
SPIRV-Tools and llvmlite in that environment. **To use this CONDA has to be available in the system**.
53
51
54
-
Extract the archive:
52
+
The above mentioned installation script can be found `here <https://github.intel.com/SAT/numba-pvc-build-scripts>`_. Please follow the README to run the installation script.
55
53
56
-
tar -zxvf NUMBA-PVC-offline.tar.gz
54
+
After successful installation the following message should be displayed:
57
55
58
-
Run the installer script:
56
+
|#
57
+
|# Use the following to activate the correct environment
The installer script creates a new conda environment called numba-dppy-env with
66
+
all the needed dependencies already installed. **Please activate the numba-dppy-env before proceeding**.
61
67
62
-
After successful installation the following message should be displayed:
63
68
64
-
#
65
-
# Use the following to activate the correct environment
66
-
#
67
-
# $ conda activate numba-dppy-env
68
-
#
69
-
# Use the following to deactivate environment
70
-
#
71
-
# $ conda deactivate
69
+
Install DPPY backend
70
+
***********************
71
+
NUMBA-DPPY also depend on DPPY backend. It can be found `here <https://github.intel.com/SAT/dppy>`_. Please run
72
+
`build_for_conda.sh` to install DPPY backend.
72
73
73
-
The installer script creates a new conda environment called numba-dppy-env with
74
-
all the needed dependencies already installed. To use the DPPy backend, please
75
-
activate the numba-dppy-env
74
+
Install NUMBA-DPPY
75
+
*********************
76
+
After all the dependencies are installed please run ``build_for_develop.sh`` to get a local installation of NUMBA-DPPY. **Both step 2 and 3 assumes CONDA environment with
77
+
the dependencies of NUMBA-DPPY installed in it, was activated**.
76
78
77
79
================
78
80
4. Running tests
@@ -81,12 +83,11 @@ activate the numba-dppy-env
81
83
To make sure the installation was successful, try running the examples and the
0 commit comments