Working with CUDA and PyCUDA

With this chapter, we begin our hands-on Python-based experience with GPUs via a computing approach. From this perspective, it is important to understand that a computing approach primarily focuses on computational problem-solving as a series of steps: problem outline, problem solution, programming the underlying solution to the problem, and, finally, testing its effectiveness. We will follow this approach for all our computing problems in this book that we try to solve through GPU-accelerated programming.

C programming enthusiasts will be encouraged to invoke NVIDIA GPUs within their program code with CUDA-C, while Python programming enthusiasts will be motivated to use PyCUDA to invoke NVIDIA GPUs within their ...

Get Hands-On GPU Computing with Python 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.