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

by

[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

H2Nation hopes to serve as a conduit between those who produce, develop, design, or sell hydrogen or renewable energy devices and products.

Newsletter

Subscribe to our Newsletter for new posts. Stay updated from

H2Nation!

Laest News

@2023 – All Right Reserved. H2Nation Magazine 

Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?
-
00:00
00:00
Update Required Flash plugin
-
00:00
00:00