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
This will download and build everything in `~/benchmarks_workdir/` using the compiler in `~/llvm/build/`, UR source from `~/ur` and then run the benchmarks for `adapter_name` adapter. The results will be stored in `benchmark_results.md`.
15
15
16
-
The scripts will try to reuse the files stored in `~/benchmarks_workdir/`, but the benchmarks will be rebuilt every time. To avoid that, use `-no-rebuild` option.
16
+
The scripts will try to reuse the files stored in `~/benchmarks_workdir/`, but the benchmarks will be rebuilt every time. To avoid that, use `--no-rebuild` option.
17
17
18
18
## Running in CI
19
19
@@ -47,7 +47,27 @@ are stored [here](https://oneapi-src.github.io/unified-runtime/benchmark_results
47
47
### Python
48
48
49
49
dataclasses-json==0.6.7
50
+
PyYAML==6.0.2
51
+
Mako==1.3.0
50
52
51
53
### System
52
54
53
-
libopencv-dev
55
+
Sobel Filter benchmark:
56
+
57
+
`$ sudo apt-get install libopencv-dev`
58
+
59
+
### Compute-runtime and IGC
60
+
61
+
The scripts have an option to build compute-runtime and all related components from source:
parser.add_argument("--dry-run", help='Do not run any actual benchmarks', action="store_true", default=False)
263
263
parser.add_argument("--compute-runtime", nargs='?', const=options.compute_runtime_tag, help="Fetch and build compute runtime")
264
264
parser.add_argument("--iterations-stddev", type=int, help="Max number of iterations of the loop calculating stddev after completed benchmark runs", default=options.iterations_stddev)
265
+
parser.add_argument("--build-igc", help="Build IGC from source instead of using the OS-installed version", action="store_true", default=options.build_igc)
0 commit comments