© Intel Corporation 2021
J. Reinders et al.Data Parallel C++https://doi.org/10.1007/978-1-4842-5574-2_7

7. Buffers

James Reinders1 , Ben Ashbaugh2, James Brodman3, Michael Kinsner4, John Pennycook5 and Xinmin Tian6
Beaverton, OR, USA
Folsom, CA, USA
Marlborough, MA, USA
Halifax, NS, Canada
San Jose, CA, USA
Fremont, CA, USA


In this chapter, we will learn about the buffer abstraction. We learned about Unified Shared Memory (USM), the pointer-based strategy for data management, in the previous chapter. USM forces us to think about where memory lives and what should be accessible where. The buffer abstraction is a higher-level model that ...

Get Data Parallel C++: Mastering DPC++ for Programming of Heterogeneous Systems using C++ and SYCL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.