-
Notifications
You must be signed in to change notification settings - Fork 544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Onednn backend #1558
Onednn backend #1558
Conversation
This is dnnl 1.8.0 compiled with both gpu and cpu support: dnnl.dll.zip Example command line for benchmark: |
@borg323 Result of the Sanity checking the dx12 driver. Position: 1/1 rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1 =========================== |
This version does not work for me. |
This is the long awaited onednn backend (formerly dnnl, formerly mkl-dnn). To build pass
-Donednn=true -Ddnnl_dir=path/to/dnnl/library
to meson. This works with both cpu and (intel) gpu. For gpu you will need to build the dnnl library yourself (or ask me for a dll).For best performance use just one search thread when running on a cpu as a second search thread interferes with the onednn computing threads (onednn on a cpu uses all available cores by default).
There are several backend options, the most important are: