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
Copy file name to clipboardExpand all lines: benchmarks/src/README.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,18 @@ Benchmarks
3
3
4
4
## Setting up environment
5
5
6
+
Create a python environment and install pytest and the compute libraries:
6
7
```sh
7
8
python -m pip install -r requirements.txt
8
9
```
9
10
11
+
If running `dpnp` with Nvidia or AMD devices, you must install the oneapi toolkit along with the corresponding oneapi pluging:
12
+
13
+
```sh
14
+
# install oneapi toolkit and plugins
15
+
source /opt/intel/oneapi/setvars.sh
16
+
```
17
+
10
18
## Benchmark parameters
11
19
12
20
The benchmark packages, rounds, array sizes, and numeric type may be specified on the constants at the top of [pytest_benchmark/common.py](pytest_benchmark/common.py).
@@ -20,16 +28,18 @@ These are the steps to run the benchmarks, and produce the graphs
20
28
21
29
Run the benchmarks and store the results in `results.json`
0 commit comments