Overview of oneDNN Functional API Examples
mainThe Functional API provides access to individual oneDNN primitives. Examples are categorized by use case:
Fundamental Concepts
- Getting started with C++ basics.
- Memory format propagation.
- Cross-engine reordering.
Interoperability
- SYCL interop using Buffers or USM.
- GPU OpenCL interop.
Matrix Multiplication (MatMul)
- Basic operations.
- Quantization flavors (f8, int8, MXFP).
- Advanced usages (COO, CSR, Grouped MatMul, Weight Compression, and Host Scalar Scale).
Neural Network Workflows
- CNN: Inference (f32, int8) and Training (f32, bf16).
- RNN: Inference (f32, int8) and Training (f32).
- RNN Architectures: Vanilla RNN, LSTM, LBR GRU, and AUGRU.
Individual Primitives
- Convolution: Standard and Deconvolution.
- Linear: Inner product.
- Pooling/Sampling: Pooling and Resampling.
- Normalization: Batch, Group, Layer, and LRN.
- Activation: Element-wise, PReLU, and Softmax.
- Tensor Operations: Binary, Concatenation, Reduction, Sum, and Shuffle.
- Memory: Reorder operations.