Data Parallel C++



Download free course Data Parallel C++, pdf file on 565 pages by James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian.
Learn how to accelerate C++ programs using data parallelism. This open 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.

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 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.

Table of contents

  • Introduction
  • Where Code Executes
  • Data Management
  • Expressing Parallelism
  • Error Handling
  • Unified Shared Memory
  • Buffers
  • Scheduling Kernels and Data Movement
  • Communication and Synchronization
  • Defining Kernels
  • Vectors
  • Device Information
  • Practical Tips
  • Common Parallel Patterns
  • Programming for GPUs
  • Programming for CPUs
  • Programming for FPGAs
  • Libraries
  • Memory Model and Atomics
  • Future Direction of DPC++
Pages565
Size15.8 MB
File typePDF
Downloads138
Created2022-02-02
LicenseCC BY
Author(s) James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
Cover of Data Parallel C++

Download

  • Learn Programming

    This book is aimed at readers who are interested in software development but have very lit..., download free Learn Programming tutorial in PDF (465 pages) created by Antti Salonen ....

  • Learning Statistics with R

    R is the world's most popular language for developing statistical software: Archaeologists use it to track the spread of ancient civilizations, drug companies use it to discover which medications are safe and effective, and actuaries use it to assess financial risks and keep economies running smooth...

  • The Basics of Game Design

    Download this ebook intituled The Basics of Game Design, free training document about video game development on 24 pages for beginners....

  • Artificial Neural Networks - Models and Applications

    The idea of simulating the brain was the goal of many pioneering works in Artificial Intelligence. The brain has been seen as a neural network, or a set of nodes, or neurons, connected by communication lines. Currently, there has been increasing interest in the use of neural network models. ...

  • Annotated Algorithms in Python

    This book is assembled from lectures given by the author over a period of 10 years at the ..., download free Python tutorial in PDF (388 pages) created by Massimo Di Pierro ....

  • Programming Fundamentals: A Modular Structured Approach Using C++

    This book is an introduction to computer programming using C++ as the language for writing programmes, and to solid, fundamental programming principles - including writing structured programmes, looping, data structures and iteration. ...

  • Getting started with JSF2

    Free Pdf tutorial about the basics of JSF and Eclipse ,training document for beginners under 28 pages to learn how to install and setup JSF....

  • Professor Frisby's Mostly Adequate Guide to Functional Programming

    This is a book on the functional paradigm in general. We'll use the world's most popular f..., download free Functional Programming tutorial in PDF (146 pages) created by Brian Lonsdorf ....

  • Modern C

    Modern C focuses on the new and unique features of modern C programming. The book is based..., download free Modern C tutorial in PDF (496 pages) created by Jens Gustedt ....

  • Python Machine Learning Projects

    This book tries to equip the developers of today and tomorrow with tools they can use to better understand, evaluate, and shape machine learning....