1. Introduction - 5.2 English - 57404

AOCL User Guide (57404)

Document ID
57404
Release Date
2025-12-29
Version
5.2 English

AMD Optimizing CPU Libraries (AOCL) are a set of numerical libraries optimized for AMD “Zen”- based processors, including EPYCTM, RyzenTM ThreadripperTM, and RyzenTM. This document provides performance tuning recommendations and guidance on optimization flags for advanced users of AOCL to experiment with.

AOCL is comprised of the following libraries:

  • AOCL-BLAS is a portable software framework for performing high-performance Basic Linear Algebra Subprograms (BLAS) functionality.

  • AOCL-Compression is a software framework of various lossless data compression and decompression methods tuned and optimized for AMD “Zen”-based CPUs.

  • AOCL-Cryptography is AMD’s optimized implementation of cryptographic functions.

  • AOCL-DA is a data analytics library providing optimized building blocks for data analysis and classical machine learning problems.

  • AOCL-DLP is a high-performance library that provides optimized deep learning primitives for AMD processors.

  • AOCL-FFTW (Fastest Fourier Transform in the West) is a comprehensive collection of fast C routines for computing the Discrete Fourier Transform (DFT) and various special cases.

  • AOCL-FFTZ is AMD’s in-house Fast Fourier Transform (FFT) library designed, developed and optimized for AMD “Zen”-based processors. It offers high performant FFT routines for HPC, scientific computing and many such applications.

  • AOCL-LAPACK is a portable library for dense matrix computations that provides the functionality present in the Linear Algebra Package (LAPACK).

  • AOCL-LibM is a software library containing elementary math functions optimized for x86-64 processor based machines.

  • AOCL-LibMem is AMD’s optimized implementation of memory manipulation functions for AMD “Zen”-based CPUs.

  • AOCL-RNG is a library that provides a set of pseudo-random number generators, quasi-random number generator and statistical distribution functions optimized for AMD “Zen”-based processors.

  • AOCL-ScaLAPACK is a library of high-performance linear algebra routines for parallel distributed memory machines. It depends on external libraries including BLAS and LAPACK for linear algebra computations.

  • AOCL-SecureRNG is a library that provides APIs to access the cryptographically secure random numbers generated by the AMD hardware random number generator.

  • AOCL-Sparse is a library containing the basic linear algebra subroutines for sparse matrices and vectors optimized for AMD “Zen”-based CPUs.

  • AOCL-Utils is a library which provides APIs to check the available CPU features/flags, cache topology, and so on of AMD “Zen”-based CPUs.

All the aforementioned libraries except AOCL-RNG are open-source.

Additionally, we have optimizations to UCX and OpenMPI. For further details on optimizations to UCX and OpenMPI, please refer to the Miscellaneous section.