oneDNN Apple M2

Apple M2 testing with a Apple MacBook Air (13 h M2 2022) and llvmpipe on Arch rolling via the Phoronix Test Suite.

HTML result view exported from: https://openbenchmarking.org/result/2209289-NE-ONEDNNAPP07&rdt&grs.

oneDNN Apple M2ProcessorMotherboardMemoryDiskGraphicsNetworkOSKernelDesktopDisplay ServerOpenGLCompilerFile-SystemScreen ResolutionABCApple M2 @ 2.42GHz (4 Cores / 8 Threads)Apple MacBook Air (13 h M2 2022)8GB251GB APPLE SSD AP0256Z + 2 x 0GB APPLE SSD AP0256ZllvmpipeBroadcom Device 4433 + Broadcom Device 5f71Arch rolling5.19.0-rc7-asahi-2-1-ARCH (aarch64)KDE Plasma 5.25.4X Server 1.21.1.44.5 Mesa 22.1.6 (LLVM 14.0.6 128 bits)GCC 12.1.0 + Clang 14.0.6ext42560x1600OpenBenchmarking.orgCompiler Details- --build=aarch64-unknown-linux-gnu --disable-libssp --disable-libstdcxx-pch --disable-multilib --disable-werror --enable-__cxa_atexit --enable-bootstrap --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-fix-cortex-a53-835769 --enable-fix-cortex-a53-843419 --enable-gnu-indirect-function --enable-gnu-unique-object --enable-languages=c,c++,fortran,go,lto,objc,obj-c++ --enable-lto --enable-plugin --enable-shared --enable-threads=posix --host=aarch64-unknown-linux-gnu --mandir=/usr/share/man --with-arch=armv8-a --with-linker-hash-style=gnu Processor Details- Scaling Governor: apple-cpufreq schedutilSecurity Details- itlb_multihit: Not affected + l1tf: Not affected + mds: Not affected + meltdown: Not affected + mmio_stale_data: Not affected + retbleed: Not affected + spec_store_bypass: Mitigation of SSB disabled via prctl + spectre_v1: Mitigation of __user pointer sanitization + spectre_v2: Not affected + srbds: Not affected + tsx_async_abort: Not affected

oneDNN Apple M2onednn: Deconvolution Batch shapes_3d - f32 - CPUonednn: Deconvolution Batch shapes_1d - f32 - CPUonednn: Convolution Batch Shapes Auto - f32 - CPUonednn: Matrix Multiply Batch Shapes Transformer - u8s8f32 - CPUonednn: Deconvolution Batch shapes_1d - u8s8f32 - CPUonednn: IP Shapes 1D - u8s8f32 - CPUonednn: IP Shapes 1D - f32 - CPUonednn: IP Shapes 3D - f32 - CPUonednn: Convolution Batch Shapes Auto - u8s8f32 - CPUonednn: Recurrent Neural Network Inference - f32 - CPUonednn: Recurrent Neural Network Inference - u8s8f32 - CPUonednn: Recurrent Neural Network Training - bf16bf16bf16 - CPUonednn: Deconvolution Batch shapes_3d - u8s8f32 - CPUonednn: Recurrent Neural Network Training - u8s8f32 - CPUonednn: Matrix Multiply Batch Shapes Transformer - f32 - CPUonednn: Recurrent Neural Network Training - f32 - CPUonednn: Recurrent Neural Network Inference - bf16bf16bf16 - CPUonednn: IP Shapes 3D - u8s8f32 - CPUABC36.5644267.75642.223638.6654174.19858.198427.146634.1858175.80316519.616505.932230.448.580632236.516.935732230.216512.7109.747937.23266.95842.386138.7703174.5558.326427.211434.1274175.51116493.316512.63223948.540132211.716.930532237.616511.295.113736.8228264.62142.402238.7967174.01258.372327.195534.1341175.67416513.116498.232211.448.552932214.716.93732226.716515.594.8531OpenBenchmarking.org

oneDNN

Harness: Deconvolution Batch shapes_3d - Data Type: f32 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: Deconvolution Batch shapes_3d - Data Type: f32 - Engine: CPUABC918273645SE +/- 0.12, N = 336.5637.2336.82MIN: 36.27MIN: 36.45MIN: 36.461. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl

oneDNN

Harness: Deconvolution Batch shapes_1d - Data Type: f32 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: Deconvolution Batch shapes_1d - Data Type: f32 - Engine: CPUABC60120180240300SE +/- 1.08, N = 3267.76266.96264.62MIN: 260.11MIN: 260.98MIN: 257.541. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl

oneDNN

Harness: Convolution Batch Shapes Auto - Data Type: f32 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: Convolution Batch Shapes Auto - Data Type: f32 - Engine: CPUABC1020304050SE +/- 0.03, N = 342.2242.3942.40MIN: 41.93MIN: 42.02MIN: 42.181. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl

oneDNN

Harness: Matrix Multiply Batch Shapes Transformer - Data Type: u8s8f32 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: Matrix Multiply Batch Shapes Transformer - Data Type: u8s8f32 - Engine: CPUABC918273645SE +/- 0.05, N = 338.6738.7738.80MIN: 38.56MIN: 38.75MIN: 38.791. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl

oneDNN

Harness: Deconvolution Batch shapes_1d - Data Type: u8s8f32 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: Deconvolution Batch shapes_1d - Data Type: u8s8f32 - Engine: CPUABC4080120160200SE +/- 0.20, N = 3174.20174.55174.01MIN: 173.84MIN: 174.43MIN: 173.941. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl

oneDNN

Harness: IP Shapes 1D - Data Type: u8s8f32 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: IP Shapes 1D - Data Type: u8s8f32 - Engine: CPUABC1326395265SE +/- 0.07, N = 358.2058.3358.37MIN: 57.4MIN: 57.89MIN: 57.911. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl

oneDNN

Harness: IP Shapes 1D - Data Type: f32 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: IP Shapes 1D - Data Type: f32 - Engine: CPUABC612182430SE +/- 0.02, N = 327.1527.2127.20MIN: 26.6MIN: 26.57MIN: 26.721. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl

oneDNN

Harness: IP Shapes 3D - Data Type: f32 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: IP Shapes 3D - Data Type: f32 - Engine: CPUABC816243240SE +/- 0.00, N = 334.1934.1334.13MIN: 34.04MIN: 33.99MIN: 34.011. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl

oneDNN

Harness: Convolution Batch Shapes Auto - Data Type: u8s8f32 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: Convolution Batch Shapes Auto - Data Type: u8s8f32 - Engine: CPUABC4080120160200SE +/- 0.07, N = 3175.80175.51175.67MIN: 175.59MIN: 175.46MIN: 175.581. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl

oneDNN

Harness: Recurrent Neural Network Inference - Data Type: f32 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: Recurrent Neural Network Inference - Data Type: f32 - Engine: CPUABC4K8K12K16K20KSE +/- 11.60, N = 316519.616493.316513.1MIN: 16500.6MIN: 16488.1MIN: 16496.61. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl

oneDNN

Harness: Recurrent Neural Network Inference - Data Type: u8s8f32 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: Recurrent Neural Network Inference - Data Type: u8s8f32 - Engine: CPUABC4K8K12K16K20KSE +/- 3.03, N = 316505.916512.616498.2MIN: 16494.2MIN: 16507.1MIN: 16493.11. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl

oneDNN

Harness: Recurrent Neural Network Training - Data Type: bf16bf16bf16 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: Recurrent Neural Network Training - Data Type: bf16bf16bf16 - Engine: CPUABC7K14K21K28K35KSE +/- 1.76, N = 332230.432239.032211.4MIN: 32211.1MIN: 32223.8MIN: 32200.31. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl

oneDNN

Harness: Deconvolution Batch shapes_3d - Data Type: u8s8f32 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: Deconvolution Batch shapes_3d - Data Type: u8s8f32 - Engine: CPUABC1122334455SE +/- 0.04, N = 348.5848.5448.55MIN: 47.77MIN: 47.71MIN: 47.791. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl

oneDNN

Harness: Recurrent Neural Network Training - Data Type: u8s8f32 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: Recurrent Neural Network Training - Data Type: u8s8f32 - Engine: CPUABC7K14K21K28K35KSE +/- 3.13, N = 332236.532211.732214.7MIN: 32214.9MIN: 32201.3MIN: 32208.21. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl

oneDNN

Harness: Matrix Multiply Batch Shapes Transformer - Data Type: f32 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: Matrix Multiply Batch Shapes Transformer - Data Type: f32 - Engine: CPUABC48121620SE +/- 0.00, N = 316.9416.9316.94MIN: 16.89MIN: 16.89MIN: 16.91. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl

oneDNN

Harness: Recurrent Neural Network Training - Data Type: f32 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: Recurrent Neural Network Training - Data Type: f32 - Engine: CPUABC7K14K21K28K35KSE +/- 1.97, N = 332230.232237.632226.7MIN: 32211.1MIN: 32229.2MIN: 32208.11. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl

oneDNN

Harness: Recurrent Neural Network Inference - Data Type: bf16bf16bf16 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: Recurrent Neural Network Inference - Data Type: bf16bf16bf16 - Engine: CPUABC4K8K12K16K20KSE +/- 9.56, N = 316512.716511.216515.5MIN: 16496MIN: 16503.1MIN: 16501.61. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl

oneDNN

Harness: IP Shapes 3D - Data Type: u8s8f32 - Engine: CPU

OpenBenchmarking.orgms, Fewer Is BetteroneDNN 2.7Harness: IP Shapes 3D - Data Type: u8s8f32 - Engine: CPUABC20406080100SE +/- 14.08, N = 15109.7595.1194.85MIN: 94.84MIN: 94.69MIN: 94.431. (CXX) g++ options: -O3 -march=native -fopenmp -mcpu=native -fPIC -pie -ldl


Phoronix Test Suite v10.8.5