onednn
oneAPI Deep Neural Network Library
Latest version: 3.13.3
Add to xmake.lua
add_requires("onednn 3.13.3")Learn how to add and link packages with Xmake →
Information
- License
- Apache-2.0
- Recipe updated
- 2026-10-04T09:23:53.000Z
Platforms
- linux: x86_64
- macosx: x86_64
- windows: x64
Options
cpu_runtime- Defines the threading runtime for CPU engines. · Type: string · Default: seq · Values: none, omp, tbb, seq, threadpool, dpcpp
gpu_runtime- Defines the offload runtime for GPU engines. · Type: string · Default: none · Values: none, ocl, dpcpp
shared- Build shared library. · Type: boolean · Default: true
Versions
- v2.5.4
- v3.3.4
- v3.4
- v3.4.1
- v3.4.2
- v3.4.3
- v3.5
- v3.5.1
- v3.5.2
- v3.5.3
- v3.6
- v3.6.1
- v3.6.2
- v3.7.1
- v3.7.2
- v3.8
- v3.8.1
- v3.9
- v3.9.1
- v3.10
- v3.10.1
- v3.10.2
- v3.11
- v3.11.3
- v3.12.1
- v3.13.1
- v3.13.2
- v3.13.3
Dependencies
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "onednn 3.13.3"show info
xrepo info "onednn"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("onednn 3.13.3")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("onednn")Open a package environment
Open a shell with the environment exported by this package. Use the executable names documented by the package.
enter shell
xrepo env -b "onednn 3.13.3" shell