Porting HPC Applications to AMD Instinct MI300A Using Unified Memory and OpenMP

[Submitted on 1 May 2024]

View PDF

Abstract:AMD Instinct$^text{TM}$ MI300A is the world’s first data center accelerated processing unit (APU) with memory shared between the AMD “Zen 4” EPYC$^text{TM}$ cores and third generation CDNA$^text{TM}$ compute units. A single memory space offers several advantages: i) it eliminates the need for data replication and costly data transfers, ii) it substantially simplifies application development and allows an incremental acceleration of applications, iii) is easy to maintain, and iv) its potential can be well realized via the abstractions in the OpenMP 5.2 standard, where the host and the device data environments can be unified in a more performant way. In this article, we provide a blueprint of the APU programming model leveraging unified memory and highlight key distinctions compared to the conventional approach with discrete GPUs. OpenFOAM, an open-source C++ library for computational fluid dynamics, is presented as a case study to emphasize the flexibility and ease of offloading a full-scale production-ready application on MI300 APUs using directive-based OpenMP programming.

Submission history

From: Suyash Tandon [view email]
[v1]
Wed, 1 May 2024 10:38:06 UTC (955 KB)

Read More

Related posts

SIX and Chainlink Take €2 Trillion in Swiss and Spanish Equities Data Onchain

Free 16-Week Mentorship Programme with Soho House Opens Applications for Brighton’s Working-Class Creatives

S.Pellegrino Young Chef Academy Applications Now Open