Advertisement

© 2021

Data Parallel C++

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

  • Learn heterogenous programming for CPU, GPU, FPGA, ASIC, etc.

  • Gain a vision for the future of parallel programming support in C++

  • Program with industrial strength implementations of SYCL, with extensions

Apress
Open Access
Book

Table of contents

  1. Front Matter
    Pages i-xxvi
  2. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 1-24 Open Access
  3. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 25-59 Open Access
  4. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 61-90 Open Access
  5. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 91-130 Open Access
  6. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 131-147 Open Access
  7. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 149-171 Open Access
  8. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 173-193 Open Access
  9. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 195-212 Open Access
  10. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 213-240 Open Access
  11. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 241-258 Open Access
  12. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 259-276 Open Access
  13. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 277-295 Open Access
  14. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 297-322 Open Access
  15. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 323-352 Open Access
  16. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 353-385 Open Access
  17. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 387-418 Open Access
  18. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 419-469 Open Access
  19. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 471-493 Open Access
  20. James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
    Pages 495-530 Open Access

About this book

Introduction

Learn how to accelerate C++ programs using data parallelism.

Data parallelism in C++ enables access to parallel resources in a modern heterogeneous system, freeing you from being locked into any particular computing device. Now a single C++ application can use any combination of devices—including GPUs, CPUs, FPGAs and AI ASICs—that are suitable to the problems at hand.

This open access book enables C++ programmers to be at the forefront of this exciting and important new development that is helping to push computing to new levels. It is full of practical advice, detailed explanations, and code examples to illustrate key topics.

This book teaches data-parallel programming using C++ and the SYCL standard from the Khronos Group and walks through everything needed to use SYCL for programming heterogeneous systems.  The book begins by introducing data parallelism and foundational topics for effective use of SYCL and Data Parallel C++ (DPC++), the open source compiler used in this book. Later chapters cover advanced topics including error handling, hardware-specific programming, communication and synchronization, and memory model considerations.

You will learn:

• How to accelerate C++ programs using data-parallel programming

• How to target multiple device types (e.g. CPU, GPU, FPGA)

• How to use SYCL and SYCL compilers

• How to connect with computing’s heterogeneous future via Intel’s oneAPI initiative


Keywords

heterogenous FPGA programming GPU programming Parallel programming Data parallelism SYCL Intel One API

Authors and affiliations

  1. 1.BeavertonUSA
  2. 2.FolsomUSA
  3. 3.MarlboroughUSA
  4. 4.HalifaxCanada
  5. 5.San JoseUSA
  6. 6.FremontUSA

About the authors

James Reinders is a consultant with more than three decades experience in Parallel Computing, and is an author/co-author/editor of nine technical books related to parallel programming.  He has had the great fortune to help make key contributions to two of the world's fastest computers (#1 on Top500 list) as well as many other supercomputers, and software developer tools. James finished 10,001 days (over 27 years) at Intel in mid-2016, and now continues to write, teach, program, and do consulting in areas related to parallel computing (HPC and AI).  

     

Bibliographic information