oneAPI Deep Neural Network Library (oneDNN)  1.6.0
Performance library for Deep Learning
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
oneDNN Documentation

oneDNN is an open-source performance library for deep learning applications. The library includes basic building blocks for neural networks optimized for Intel Architecture Processors and Intel Processor Graphics. oneDNN is intended for deep learning applications and framework developers interested in improving application performance on Intel CPUs and GPUs.

Building and Linking

Programming Model


Compute intensive operations:

Memory bandwidth limited operations:

Data manipulation:

Performance Benchmarking and Inspection

Advanced topics


Topic Engine C++ API C API
Tutorials CPU/GPU Getting started
CPU/GPU Memory Format Propagation
CPU/GPU Performance Profiling Example
CPU/GPU Reorder between CPU and GPU engines Reorder between CPU and GPU engines
GPU Getting started on GPU with OpenCL extensions API
f32 inference CPU/GPU CNN f32 inference example CNN f32 inference example
CPU RNN f32 inference example
int8 inference CPU/GPU CNN int8 inference example
CPU RNN int8 inference example
f32 training CPU/GPU CNN f32 training example
CPU CNN f32 training example
CPU/GPU RNN f32 training example
bf16 training CPU/GPU CNN bf16 training example