Skip to Main Content
Heterogeneous System Architecture
book

Heterogeneous System Architecture

by Wen-mei W. Hwu
November 2015
Intermediate to advanced content levelIntermediate to advanced
206 pages
6h 14m
English
Morgan Kaufmann
Content preview from Heterogeneous System Architecture
Chapter 5

HSA Memory Model

L. Howes*; D. Hower; B.R. Gaster    * Qualcomm, Santa Clara, CA, USA Qualcomm, Raleigh-Durham, NC, USA University of the West of England, Bristol, UK

Abstract

In this chapter, we show how to correctly use key Heterogeneous System Architecture (HSA) memory features, including atomic memory operations, memory segments, and memory scopes. A primary focus of the chapter, and the HSA memory model in general, is to develop an understanding of memory ordering, or how loads and stores from concurrently running HSA agents interleave with one another. We show how to use synchronization in an HSA program, such that it will always result in a simple, program-ordered interleaving known as a sequentially consistent execution. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

High Performance Parallel I/O

High Performance Parallel I/O

Prabhat, Quincey Koziol
Data Parallel C++: Mastering DPC++ for Programming of Heterogeneous Systems using C++ and SYCL

Data Parallel C++: Mastering DPC++ for Programming of Heterogeneous Systems using C++ and SYCL

James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
Heterogeneous Computing with OpenCL 2.0

Heterogeneous Computing with OpenCL 2.0

David R. Kaeli, Perhaad Mistry, Dana Schaa, Dong Ping Zhang

Publisher Resources

ISBN: 9780128008010