AMD CPU Libraries are a set of numerical libraries tuned specifically for AMD EPYCTM processor family. They have a simple interface to take advantage of the latest hardware innovations. The tuned implementations of industry standard math libraries enable fast development of scientific and high-performance computing projects.

For any issues or queries regarding the libraries, please contact cpulibsupport@amd.com

BLIS

BLIS is a portable open-source software framework for instantiating high-performance Basic Linear Algebra Subprograms (BLAS) – like dense linear algebra libraries. The framework was designed to isolate essential kernels of computation that, when optimized, immediately enable optimized implementations of most of its commonly used and computationally intensive operations. Select kernels have been optimized for the AMD EPYCTM processor family by AMD and others.

Source code is available on GitHub https://github.com/amd/blis.

libFLAME

libFLAME is a portable library for dense matrix computations, providing much of the functionality present in Linear Algebra Package (LAPACK). It includes a compatibility layer, FLAPACK, the FORTRAN interface, which includes complete LAPACK implementation. The library provides scientific and numerical computing communities with a modern, high-performance dense linear algebra library that is extensible, easy to use, and available under an open source license. In combination with the BLIS library which includes optimizations for the AMD EPYCTM processor family, libFLAME enables running high performing LAPACK functionalities on AMD platforms.

Source code is available on GitHub https://github.com/amd/libflame.

AMD Math Library (LibM)

AMD LibM is a software library containing a collection of basic math functions optimized for x86-64 processor-based machines. It provides many routines from the list of standard C99 math functions. Applications can link into AMD LibM library and invoke math functions instead of compiler’s math functions for better accuracy and performance.

AMD Random Number Generator Library

AMD Random Number Generator Library is a pseudorandom number generator library. It provides a comprehensive set of statistical distribution functions and various uniform distribution generators (base generators) including Wichmann-Hill and Mersenne Twister. The library contains five base generators and twenty-three distribution generators, in addition to hooks for user provided base generator.

AMD Secure RNG Library

The AMD Secure Random Number Generator (RNG) is a library that provides APIs to access the cryptographically secure random numbers generated by AMD’s hardware-based random number generator implementation. These are high quality, robust random numbers that are designed to be suitable for cryptographic applications.

FFTW (Fastest Fourier Transform in the West)

FFTW is a comprehensive collection of fast C routines for computing the Discrete Fourier Transform (DFT) and various special cases thereof. It is an open-source implementation of the Fast Fourier transform algorithm. It can compute transforms of real and complex-values arrays of arbitrary size and dimension.

The latest official release of FFTW is version 3.3.8, available from download page. Also, a pre-compiled FFTW 3.3.8 binary, for AMD processors, is available in the installer package in the Download section below.

Source code is available on GitHub https://github.com/FFTW/fftw3.

Blogs/Forums

AMD Libraries Forum

https://community.amd.com/community/devgurus/amd-compute-libraries 

Resources & Technical Support

Documentation

Optimization of BLIS Library for AMD ZEN

AMD Secure Random Number Generator Library

AMD Random Number Generator – User Guide

AMD CPU Libraries User Guide

Download:

NEW Update: BLIS 1.2 released. Download here

The following installer extracts and installs all the AMD CPU Libraries on to the developer machine.

File Name Version Size Launch Date OS Bitness Description

File Name

Version

1.0

Size

19.3 MB

Launch Date

07/06/2018

OS

Ubuntu

Bitness

64-bit

Description

Tar file containing all the AMD CPU Libraries packages. Includes install.sh file that extracts and installs all the libraries. sha256sum: 6337068fe4f91870bc03819e901a79a8536ada3d392aba87046c6ebec17b7abc
Archive

File Name

Version

0.95 Beta

Size

2038 KB

Launch Date

12/18/2017

OS

Ubuntu

Bitness

64-bit

Description

Single Threaded BLIS Library binary package with example binary. MD5 Checksum : 03f6b1a7e52227d2e3df6a8846234b51

File Name

Version

0.95 Beta

Size

1993 KB

Launch Date

12/18/2017

OS

Ubuntu

Bitness

64-bit

Description

Multi-threaded BLIS Library binary package with example binary MD5 Checksum : 1ae40014baee83cc5995713cc1b29a83

File Name

Version

0.95 Beta

Size

4026 KB

Launch Date

12/18/2017

OS

Ubuntu

Bitness

64-bit

Description

libFLAME Library binary package with example binary MD5 Checksum : fbbdb3c961834788ff0525a05148e0f8

File Name

Version

3.2.1

Size

1577 KB

Launch Date

12/18/2017

OS

Ubuntu

Bitness

64-bit

Description

AMD LibM library binary package with example code MD5 Checksum : b99f8e0a9d2976e8b7e2de760e3d132d

File Name

Version

0.95 Beta

Size

2556 KB

Launch Date

12/18/2017

OS

Ubuntu

Bitness

64-bit

Description

AMD Random Number Generator Library binary package with example code MD5 Checksum : cd0cdfed04be7637e50d3472e8d87952

File Name

Version

0.1 Beta

Size

189 KB

Launch Date

12/18/2017

OS

Ubuntu

Bitness

64-bit

Description

AMD Secure RNG Library source code and binary package with example code MD5 Checksum : 5b018c0e59b2ca7ba4a602977ec1d292