benchdnn is an extended and robust correctness verification and performance benchmarking tool for the primitives provided by oneDNN. The purpose of the benchmark is an extended and robust correctness verification of the primitives provided by oneDNN. benchdnn itself is a harness for different primitive-specific drivers.
./benchdnn --DRIVER [COMMON-OPTIONS] [DRIVER-OPTIONS] PROBLEM-DESCRIPTION
where DRIVER
is one of:
- binary
- brgemm
- bnorm
- concat
- conv
- deconv
- eltwise
- gnorm
- graph
- ip
- lnorm
- lrn
- matmul
- pool
- prelu
- reduction
- reorder
- resampling
- rnn
- shuffle
- softmax
- sum
- zeropad
Refer to COMMON-OPTIONS
for details on options
supported across all the drivers. Refer to each driver's documentation for
DRIVER-OPTIONS
and PROBLEM-DESCRIPTION
definitions, which vary from driver
to driver.
See also general information about benchdnn.
benchdnn is licensed under Apache License Version 2.0.
We welcome community contributions to benchdnn as well as to oneDNN. If you have any ideas or issues, please submit an issue or pull request. For clarity, please include ''benchdnn: '' in the title.
This work is inspired by the benchFFT project developed by Matteo Frigo and Steven G. Johnson as a benchmark for Discrete Fourier Transform (DFT) implementations.