File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,35 @@ DPNP_QUEUE_GPU=1 python examples/example1.py
20
20
```
21
21
22
22
## Build from source:
23
+ Ensure you have the following prerequisite packages installed:
24
+
25
+ - ` mkl-devel-dpcpp `
26
+ - ` dpcpp_linux-64 ` or ` dpcpp_win-64 ` (depending on your OS)
27
+ - ` tbb-devel `
28
+ - ` dpctl `
29
+
30
+ In addition, you need oneDPL installed on your system. There are two ways to do
31
+ so:
32
+
33
+ 1 . Install oneAPI and run the oneDPL activation script. E.g., on linux:
34
+
35
+ ``` bash
36
+ source /opt/intel/oneapi/dpl/latest/env/vars.sh
37
+ ```
38
+
39
+ 2 . Clone dpl from https://github.com/oneapi-src/oneDPL and set the ` DPL_ROOT `
40
+ environment variable to point to the ` include ` directory in the repository.
41
+
42
+ E.g., on linux
43
+
44
+ ``` bash
45
+ git clone https://github.com/oneapi-src/oneDPL
46
+ export DPL_ROOT=$( pwd) /oneDPL/include
47
+ ```
48
+
49
+ After these steps, ` dpnp ` can be built in debug mode as follows:
50
+
51
+
23
52
``` bash
24
53
git clone https://github.com/IntelPython/dpnp
25
54
cd dpnp
You can’t perform that action at this time.
0 commit comments