Chapter 12

Common Problems, Causes, and Solutions

Introduction

In this chapter we look at some of the issues that plague CUDA developers and how you can avoid or at least mitigate these issues with some relatively simple practices. Issues with CUDA programs often fall into one the following categories:

• Errors of usage of various CUDA directives.

• General parallel programming errors.

• Algorithmic errors.

Finally, we finish this last chapter with a discussion of where to continue your learning. There are many other texts on the subject of CUDA and GPU programming in general, as well as a lot of online material. We provide some pointers for what to read and where to find it. We also briefly discuss NVIDIA’s professional certification program ...

Get CUDA Programming 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.