Introduction toAMD Zen Software Studio
Version 4
Steve Bassett, product manager
March 12, 2024
Supercomputing Japan

[Public]

CAUTIONARY STATEMENT
This presentation contains forward-looking statements concerning Advanced Micro Devices, Inc. (AMD) such as thefeatures, functionality, performance, availability, timing and expected benefits of AMD’s current products, future products
and markets, which are made pursuant to the Safe Harbor provisions of the Private Securities Litigation Reform Act of1995. Forward-looking statements are commonly identified by words such as "would," "may," "expects," "believes,""plans," "intends," "projects" and other terms with similar meaning. Investors are cautioned that the forward-looking
statements in this presentation are based on current beliefs, assumptions and expectations, speak only as of the date ofthis presentation and involve risks and uncertainties that could cause actual results to differ materially from currentexpectations. Such statements are subject to certain known and unknown risks and uncertainties, many of which aredifficult to predict and generally beyond AMD's control, that could cause actual results and other future events to differ
materially from those expressed in, or implied or projected by, the forward-looking information and statements. Investors
are urged to review in detail the risks and uncertainties in AMD’s Securities and Exchange Commission filings, including
but not limited to AMD’s most recent reports on Forms 10-K and 10-Q.

AMD does not assume, and hereby disclaims, any obligation to update forward-looking statements made in thispresentation, except as may be required by law.

2

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

AMD Zen Software Studio supports
AMD EPYC Server Processors

3AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

AMD Zen Software Studio
Toolchain Ecosystem
Applications

PERFORMANCECOMPILERS

AOCC

AMDOptimizing
CPUCompilers
C, C++,
Fortran

OPTIMIZEDLIBRARIESAOCLAMD Optimizing
CPU Libraries

ZenDNNCPU Inference
Acceleration

JAVA

DEVELOPERTOOLS

OpenJDKAMD µProf
Performance &Power Profiling
Tools

Package Manager integration (e.g. Spack)Linux®, Windows®, FreeBSD

AMD offers professional software development tools
optimized for Enterprise & HPC applications on AMD “Zen” CPUs
4AMD ZEN SOFTWARE STUDIO 4 | PUBLICJava®

[Public]

AMD Zen Software Studio
Toolchain EcosystemApplications
PLATFORMCOMPILERS

GCC
Visual Studio®

LLVM

PERFORMANCECOMPILERSOPTIMIZEDLIBRARIESJAVADEVELOPERTOOLSAMD OptimizingAMD
AOCL
AMD µProfAMD supports
the GCC and LLVM
communitiesand Microsoft®
CPU Libraries
Optimizing
AOCC
Performancewithcompilertuning and optimizations“Zen” &coresCPU
CPU Inference for AMD
ZenDNN Acceleration
Power Profiling
Compilers
Tools

OpenJDK

Package Manager integration (e.g. Spack)Linux®, Windows®, FreeBSD

AMD offers professional software development tools
optimized for Enterprise & HPC applications on AMD “Zen” CPUs
5AMD ZEN SOFTWARE STUDIO 4 | PUBLICJava®

[Public]

AMD Zen Software Studio 4Toolchain Ecosystem
Applications
PLATFORMCOMPILERSPERFORMANCECOMPILERS

GCC

OPTIMIZEDLIBRARIESAMD Optimizing
CPU Libraries

JAVA

DEVELOPERTOOLS

OpenJDKAMDAOCLAMD µProf
Optimizing
AOCC CPU and prior EPYC CPUs and AMD
Performance&“Zen”-based
processors
VisualSupporting
Studio® 4th generation
CPU Inference
ZenDNN
Power
Profiling
Compilers
Acceleration
Tools

Zen Software Studio 4Java®

LLVM

Package Manager integration (e.g. Spack)Linux®, Windows®, FreeBSD

6

Professional software development tools
optimized for Enterprise & HPC applications on AMD “Zen” CPUswith commercial support available

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

AMD CPU Software Development Options
AMD ZenSoftware Studio◢ Compilers

AMD Optimizing
x86 CPU Compiler(AOCC)◢ Libraries

AMD Optimized
CPU Libraries(AOCL & ZenDNN)◢ Profilers

AMD µProfAMD CPU-optimized
performance code

AMD “Zen” Processors
7

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

AMD CPU Software Development Options
AMD ZenSoftware StudioOpen tools◢ Compilers

AMD Optimizing
x86 CPU Compiler Tuning(AOCC)

x86 Platform Compilers(GCC, MS VS*, LLVM)◢ Libraries

AMD Optimized
Tuning
CPU Libraries(AOCL & ZenDNN)

openlibraries◢ Profilers

AMD µProfAMD CPU-optimized
performance code

Partially-optimized code

AMD “Zen” Processors
8AMD ZEN SOFTWARE STUDIO 4 | PUBLIC* Microsoft® Visual Studio®

[Public]

AMD CPU Software Development Options
AMD ZenSoftware StudioOpen tools◢ Compilers

AMD Optimizing
x86 CPU Compiler Tuning(AOCC)

x86 Platform Compilers(GCC, MS VS*, LLVM)◢ Libraries

AMD Optimized
Tuning
CPU Libraries(AOCL & ZenDNN)

openlibraries◢ Profilers

AMD µProfAMD CPU-optimized
performance code

AMDAOCL

Partiallyoptimized code

AMD “Zen” Processors
9AMD ZEN SOFTWARE STUDIO 4 | PUBLIC* Microsoft® Visual Studio®

[Public]

AMD CPU Software Development Options
AMD ZenSoftware StudioOpen tools◢ Compilers

AMD Optimizing
x86 CPU Compiler Tuning(AOCC)

x86 Platform Compilers(GCC, MS VS*, LLVM)◢ Libraries

AMD Optimized
Tuning
CPU Libraries(AOCL & ZenDNN)

openlibraries

AMDAOCL◢ Profilers

AMD µProf

gprof, perf

AMD µProfAMD CPU-optimized
performance code

AMD “Zen” Processors
10

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC* Microsoft® Visual Studio®

[Public]

AMD CPU Software Development Options
AMD ZenSoftware StudioOpen tools

x86-64 standard
Vendor-specific tools◢ Compilers

AMD Optimizing
x86 CPU Compiler(AOCC)

x86 Compilers(GCC, LLVM,MS VS)

Compilers◢ Libraries

AMD Optimized
CPU Libraries(AOCL & ZenDNN)

openlibraries

Libraries◢ Profilers

AMD µProfAMD CPU-optimized
performance code

gprof,perf

Profiler

Partiallyoptimized code

ISA standard code

AMD “Zen” Processors
11

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

Operating System support
Zen Software
Studio toolCompilers

Libraries
Profilers

Support on Linux
Distributions*

AOCC >Yes

AOCL >

Yes

Support on
Windows 10
No. Use Microsoft
Visual Studio.
Yes

ZenDNN >AMD uProf >

Yes
Yes

NoYes

* Primarily Red Hat© Enterprise Linux ©, Canonical Ubuntu ©, SUSE © Linux Enterprises Server and Rocky LinuxSee AMD Zen Software Studio release documentation for specific support details.
12

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

distributions.

[Public]

AMD Zen Software Studio Access & Support◢ Zen Software Studio 4.2◢ Available at no charge◢ Documentation and downloads• https://www.amd.com/en/developer/zensoftware-studio.html◢ Support options• General email inquiry‒ toolchainsupport@amd.com• Commercial support service isavailable - See AMD for details

13AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

SDE ROADMAP◢ OVERVIEW▪ PROFILING▪ LIBRARIES▪ COMPILERS▪ APPLICATION SUPPORT14AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

AMD leverages the LLVM
LLVM
Open-source
Compiler Projectcompiler framework

AMD “Zen”
Optimizations

AOCC

LinuxApplications

Why start with LLVM?
◢ LLVM is a popular, open-source framework

for building compilers• Robust framework for compiler developers• Clang and Flang front-end compilers• LLVM optimizing back-end compiler• Very active and diverse development
community

15

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC◢ AMD creates AOCC from LLVM

• Optimizations for x86 and also unique to theAMD “Zen” architecture• Released in support of and timed with AMD“Zen”-based CPUs
• Production Fortran front-end with language
compliance• With developer support

[Public]

AOCC Optimization Report◢ AOCC supports a range of optimization levels through the “-O…” flags typical of other compilers◢ AOCC also supports sets of options for vector, loop, math, in-line, memory layout, instruction-level, andscalar optimizations◢ The AOCC Optimization Report identifies the optimizations the compiler chose to use and not to use• Compile-time and link-time optimization reporting options◢ Use the report to identify code that does not readily optimize for opportunities for performance

improvement

See the AOCC User Guide for details

16

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

Open compilers◢ GCC 13.1 and LLVM 16• Release branches support all AMD “Zen” microarchitectures through “Zen 4”• -march = znver1, znver2, znver3, znver4

17

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

SDE ROADMAP◢ OVERVIEW▪ PROFILING▪ LIBRARIES▪ COMPILERS▪ APPLICATION SUPPORT18

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

AMD Optimizing CPU Libraries (AOCL)◢ AOCL are a set of numericallibraries tuned specifically for the
AMD EPYC processor family.

Library type

AMD Name

Description

Basic Linear Algebra

BLAS

Optimized high-performance Basic Linear Algebra
Subprograms (BLAS)

Linear Algebra

libFlame &ScaLAPACK

Optimized dense matrix computations as found in
Linear Algebra Package (LAPACK)

Sparse matrices

SparseSparse matrix and vector operations and solvers.
Includes support for MUMPS Sparse Solver

Fast Fourier
Transforms

FFTW

Fast C routines for computing Discrete Fourier
Transform in 1D, 2D and 3DCore Math & functions

LibM

Subset of standard C99 math functions
optimized for x86-64;

Cryptography &Compression

Cryptography,Compression

Optimized cryptographic (AES, SHA2) andcompression (LZ4, Snappy, ZLIB) functions

Memory access

LibMem

Optimized memory and string functions

Secure Random
Number Generator

SecureRNG

Single and Double Precision Secure Random
Number Generator library◢ Optimized implementations ofindustry-standard math librariesenable fast development ofhigh-performance computingapplications.
◢ Simple interfaces to takeadvantage of the latest AMD
processor hardware innovations.
◢ All libraries contributed to theopen-source communities.**Subject to community acceptance and integration.
19AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

Building and linking in AOCL libraries◢ Linking a “Zen”-optimized library from AOCL is a common step in evaluating

performance improvement for an application◢ Libraries with commonly implemented interfaces typically migrate to theequivalent AOCL libraries with minimal source and build changes.
◢ Each library has specific compilation and linking requirements anddependencies• Note also differences in use on Linux and Windows systems
See the AOCL User Guide for details

20

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

SDE ROADMAP◢ OVERVIEW▪ PROFILING▪ LIBRARIES▪ COMPILERS▪ APPLICATION SUPPORT21

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

What is application software “profiling”?
◢ Does a car just run or does it run well?

• Debug for functionality = run

Debug for functionality and quality• Profile and optimize for performance = run well, fast, fuel-efficient

Optimize for performance

22AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

What is software “profiling”?
◢ Does the application run or does it run well?

• Debug for functionality = run• Profile and optimize for performance = run well
◢ Profiling an application highlights where theWrite new source code,leverage open-source code
Leverage pre-written code

limitations are to performance, efficiency, power• One single-thread function that everything else waitsfor?
• Compute capacity or memory bandwidth?

Compile for processor to run• Dataset too big for the system’s memory?
◢ Several ways to observe the application’s behavior• Watch the application from the operating system’s
perspective – using standard information• Add instructions to the software and recompile forcustom observability – labor intensive and intrusive

Debug for functionality and quality

Optimize for performance
Scale up for many processors

23

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

AMD µProf Profiler Overview
Measure and analyze the performance of an application or the entire systemrunning Linux® or Windows®

◢ Command line or GUI◢ System Analysis• Monitors basic core, level 3 cacheand data fabric performance metrics◢ Application Analysis• CPU Profiling to identify runtime
performance bottlenecks of anapplication or the entire system◢ Power Profiling• Monitors thermal & power
characteristics of system

24

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

Software profiling options◢ Open-source linux “perf” tool
◢ Other x86-64 standard profiling tools◢ AMD µProf offers a richer experience with AMD support• Use an intuitive graphic user interface or script via command line interfaces• Running on Linux®, Windows® and FreeBSD• No source code instrumentation needed – but optional for added visibility• Supporting performance monitoring recipes‒ Data from set of events with calculations associated with the events◢ uProf 4• Supporting AMD “Zen 4” and AVX-512 instructions• Improved operation in virtualized environments• Now with roofline modeling25

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

Roofline modeling – Modeling the application
Work limited bycompute capacity

Work accomplished(FLOPS/s)Work accomplished per memory transaction(FLOPS per byte from or to memory)

26

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

Roofline modeling – Modeling the application
Work limited bycompute capacity

Work accomplished(FLOPS/s)Engage more compute resourcesthat can use the memory bandwidth.
Ex) multi-threading the code
Make data structure andmemory access more efficientWork accomplished per memory transaction(FLOPS per byte from or to memory)

27

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

SDE ROADMAP◢ OVERVIEW▪ PROFILING▪ LIBRARIES▪ COMPILERS▪ HPC APPLICATION SUPPORT28

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

AMD supports Spack for optimized Linux® application build◢ Users need flexibility and efficiency when compilingan optimized HPC application• Complexity creates overhead and poor experience

Recipes supported for AMD
optimized compiler and libraries◢ Spack is an open-source project and utility• Focused on Linux® open-source HPC
and scientific applications• Simplifies installing the AMD
compiler and libraries and building HPC applications• AMD one-click “recipes” deliver consistent,
optimized HPC application performance◢ AMD supports Spack recipes:• Generic recipes through https://github.com/spack/spack• AMD recommended command lines per application
https://www.amd.com/en/developer/spack.html◢ Refreshed for AMD 4th Generation EPYC

and AVX-512 capability
29

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

Generic and optimized recipes supported
or in development for HPC
Benchmarks
Climate & Weather Modeling
Quantum Chemistry
Molecular Dynamics
CFD/FEA
Cosmology
Genomics

[Public]

HPC application focus for build and performance optimization
Open-Source & Licensed
Applications Available
App

Commercial Applications
Available*

VersionAppVersion

Cloverleaf

1.3

Quantum
Espresso

6.7

CP2K

6.1, 7.1

NEMO

4.0

GROMACS

2021.2

Tealeaf

1.403

Hmmer

3.3.1

VASP®**

6.2LAMMPS

21072020

ROMS

3.8

NAMD

2.14

NWChem

7.0.2

OpenFOAM®

2012

WRF

4.2

See developer.amd.com/spack for build optimization details.
**Proprietary/licensed

AppAnsys®
MechanicalAnsys®
LS-Dyna®
Ansys®
HFSS
COMSOL
Multiphysics®
MathWorks®
MATLAB®

Version2022 R1
2022 R2
2022 R2
6.0 Update 2

R2022a*Enablement may be by user option orapplication configuration.

◢ AMD is actively supporting developers with optimization and performance improvement for AMD “Zen” processors.

30

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

Optimized HPC benchmark executables◢ AMD offers key HPC benchmarks inbinaries for ease of use• Optimized for performance on AMD 4TH
Generation EPYC
• Based on the Zen Software Studio 4compiler and customized libraries• AMD Zen HPL (proprietary)• AMD Zen HPL-MxP (proprietary)• AMD Zen HPCG (proprietary)• AMD Zen STREAM◢ See

https://www.amd.com/en/developer/z
en-software-studio/applications/prebuilt-applications.html for details anddownloads

31

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

AMD Recommends the AMD Zen Software Studiofor optimized application performance
AMD Zen Software Studio
AMD Compiler(AOCC)
AMD Libraries(AOCL)AMD ZenDNNAMD CPU-optimized
performance code

AMD EPYC
32

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

Processors

Spackoptimized
packages andbuild recipes
AMD µProf profiler

High-performance
Applications

[Public]

AMD Zen Software Studio Access & Support◢ Zen Software Studio 4.2◢ Available at no charge◢ Documentation anddownloads• https://www.amd.com/en/developer/zensoftware-studio.html◢ Support options• General email inquiry‒ toolchainsupport@amd.com• Commercial support service isavailable - See AMD for details

33

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]DISCLAIMER AND AMD TRADEMARKSDISCLAIMER

The information contained herein is for informational purposes only, and is subject to change without notice. While every precaution
has been taken in the preparation of this document, it may contain technical inaccuracies, omissions and typographical errors, andAMD is under no obligation to update or otherwise correct this information. Advanced Micro Devices, Inc. makes no representations
or warranties with respect to the accuracy or completeness of the contents of this document, and assumes no liability of any kind,including the implied warranties of noninfringement, merchantability or fitness for particular purposes, with respect to the operationor use of AMD hardware, software or other products described herein. No license, including implied or arising by estoppel, to any
intellectual property rights is granted by this document. Terms and limitations applicable to the purchase or use of AMD’s products
are as set forth in a signed agreement between the parties or in AMD's Standard Terms and Conditions of Sale. GD-18© 2024 Advanced Micro Devices, Inc. All rights reserved. AMD, the AMD Arrow logo, EPYC , Ryzen , Ryzen PRO,Ryzen Threadripper PRO, Instinct , ROCm , Vitis and combinations thereof are trademarks of Advanced MicroDevices, Inc. Other product names used in this publication are for identification purposes only and may be trademarks of
their respective companies.

34

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

ATTRIBUTIONSOther product names used in this publication are for identification purposes only and may be trademarks of their respective companies.
ANSYS, Mechanical, HFSS and any and all ANSYS, Inc. brand, product, service and feature names, logos and slogans are registeredtrademarks or trademarks of ANSYS, Inc. or its subsidiaries in the United States or other countries. LS-DYNA is a registered trademark ofLivermore Software Technology Corporation.
Apple and macOS are trademarks of Apple Inc., registered in the U.S. and other countries and regions.
Arm is a registered trademark of Arm limited (or its subsidiaries) in the US and/or elsewhere.
The CentOS Marks are trademarks of Red Hat, Inc.
COMSOL Multiphysics® is a registered trademark of COMSOL AB.
Cray is a trademark of Hewlett Packard Enterprise Development.
IBM and Power are trademarks or registered trademarks of International Business Machines Corporation, registered in many jurisdictions
worldwide.
Intel® is a registered mark of Intel Corporation.
Java® is a registered mark of Oracle and/or its affiliates.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
LLVM is a trademark of LLVM Foundation.
MathWorks, MATLAB and combinations thereof are registered trademarks of The MathWorks, Inc.
Microsoft is a registered trademark of Microsoft Corporation in the US and/or other countries.
NAMD was developed by the Theoretical Biophysics Group in the Beckman Institute for Advanced Science and Technology at the Universityof Illinois at Urbana-Champaign. http://www.ks.uiuc.edu/Research/namd/.
NVIDIA and CUDA are registered trademarks of NVIDIA Corporation in the U.S. and other countries.
35

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC

[Public]

ATTRIBUTIONSOther product names used in this publication are for identification purposes only and may be trademarks of their respective companies.
ONNX is a trademark of LF Projects, LLC.
OpenFOAM® is a registered trademark of OpenCFD Limited.
OpenJDK is a trademark of Oracle America, Inc.
The OpenMP name and the OpenMP logo are registered trademarks of the OpenMP Architecture Review Board.
Oracle® is a registered mark of Oracle and/or its affiliates.
Python is a trademark of the Python Software Foundation.
PyTorch, the PyTorch logo and any related marks are trademarks of Facebook, Inc.
Quantum ESPRESSO® is the registered trademark of the Quantum ESPRESSO org.
Red Hat® Enterprise Linux ® is a registered trademark of Red Hat, Inc.
Rocky Linux is a registered trademark of the Rocky Enterprise Software Foundation.
SPEC®, SPECrate® and SPEC CPU® are registered trademarks of the Standard Performance Evaluation Corporation.
SUSE is a registered trademark of SUSE LLC in the United Stated and other countries.
TensorFlow, the TensorFlow logo and any related marks are trademarks of Google Inc.
Ubuntu and the Ubuntu logo are registered trademarks of Canonical Ltd.
VASP® is a registered trademark of VASP Software GmbH.
Visual Studio® is a registered trademark of Microsoft Corporation in the United States and/or other countries.
VTune is a trademark of Intel Corporation.
Windows ® is a registered trademark of Microsoft Corporation in the US and/or other countries.

36

AMD ZEN SOFTWARE STUDIO 4 | PUBLIC