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++
Pages : 565
Size : 15.8 MB
File type : PDF
Downloads: 71
Created: 2022-02-02
License: CC BY
Author(s): James Reinders, Ben Ashbaugh, James Brodman, Michael Kinsner, John Pennycook, Xinmin Tian
Data Parallel C++

Warning: Trying to access array offset on false in /home/tutovnfz/public_html/article.php on line 233

Others c++ Tutorials

Optimizing software in C++

C++ programming tutorial for professionals

Open Data Structures (in C++)

Programming Fundamentals: A Modular Structured Approach Using C++

Essential C++

Others related eBooks about Data Parallel C++

Learning Java

Download free course Learning Java, pdf file on 1225 pages by Stack Overflow Community....

Java Succinctly Part 2

Download free course Java Succinctly Part 2, pdf file on 134 pages by Christopher Rose....

Programming Languages and Systems

Download free course Programming Languages and Systems, pdf file on 1056 pages by Amal Ahmed....

Cookbook for R: Best R Programming TIPs

The goal of this cookbook is to provide solutions to common tasks and problems in analyzing data. Each recipe tackles a specific problem with a solution you can apply to your own project, and includes a discussion of how and why the recipe works....

Python for You and Me

Download free course Python for You and Me, pdf file on 173 pages by Kushal Das....

Android Application Development for the Intel Platform

The number of Android devices running on Intel processors has increased since Intel and Go..., download free Android tutorial in PDF (520 pages) created by ....

: Advanced R Solutions

This book offers solutions to the exercises from Hadley Wickham's book Advanced R (Edition 2). It is work in progress and under active development. The 2nd edition of Advanced R is in print now and we hope to provide most of the answers....

Neural Networks with JavaScript Succinctly

Download free course Neural Networks with JavaScript Succinctly, pdf file on 163 pages by James McCaffrey....

Download Django tutorial in PDF

Download free Django tutorial course in PDF, training file in 53 chapters and 228 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Kotlin tutorial in PDF

Download free Kotlin tutorial course in PDF, training file in 38 chapters and 118 pages. Free unaffiliated ebook created from Stack OverFlow contributor....