9781788993913-1788993918-Hands-On GPU Programming with Python and CUDA

Hands-On GPU Programming with Python and CUDA

ISBN-13: 9781788993913
ISBN-10: 1788993918
Author: Dr. Brian Tuomanen
Publication date: 2018
Publisher: Packt Publishing
Format: Paperback 310 pages
FREE US shipping on ALL non-marketplace orders
Rent
35 days
from $26.09 USD
FREE shipping on RENTAL RETURNS
Marketplace
from $45.56 USD
Buy

From $37.99

Rent

From $26.09

Book details

ISBN-13: 9781788993913
ISBN-10: 1788993918
Author: Dr. Brian Tuomanen
Publication date: 2018
Publisher: Packt Publishing
Format: Paperback 310 pages

Summary

Hands-On GPU Programming with Python and CUDA (ISBN-13: 9781788993913 and ISBN-10: 1788993918), written by authors Dr. Brian Tuomanen, was published by Packt Publishing in 2018. With an overall rating of 3.9 stars, it's a notable title among other Parallel Programming (Programming) books. You can easily purchase or rent Hands-On GPU Programming with Python and CUDA (Paperback) from BooksRun, along with many other new and used Parallel Programming books and textbooks. And, if you're looking to sell your copy, our current buyback offer is $12.08.

Description

Build GPU-accelerated high performing applications with Python 2.7, CUDA 9, and open source libraries such as PyCUDA and scikit-cuda. We recommend the use of Python 2.7 as this version has stable support across all libraries used in this book.

Key Features
  • Get to grips with GPU programming tools such as PyCUDA, scikit-cuda, and Nsight
  • Explore CUDA libraries such as cuBLAS, cuFFT, and cuSolver
  • Apply GPU programming to modern data science applications
Book Description

GPU programming is the technique of offloading intensive tasks running on the CPU for faster computing. Hands-On GPU Programming with Python and CUDA will help you discover ways to develop high performing Python apps combining the power of Python and CUDA.

This book will help you hit the ground running-you'll start by learning how to apply Amdahl's law, use a code profiler to identify bottlenecks in your Python code, and set up a GPU programming environment. You'll then see how to query a GPU's features and copy arrays of data to and from its memory. As you make your way through the book, you'll run your code directly on the GPU and write full blown GPU kernels and device functions in CUDA C. You'll even get to grips with profiling GPU code and fully test and debug your code using Nsight IDE. Furthermore, the book covers some well-known NVIDIA libraries such as cuFFT and cuBLAS.

With a solid background in place, you'll be able to develop your very own GPU-based deep neural network from scratch, and explore advanced topics such as warp shuffling, dynamic parallelism, and PTX assembly. Finally, you'll touch up on topics and applications like AI, graphics, and blockchain.

By the end of this book, you'll be confident in solving problems related to data science and high-performance computing with GPU programming.

What you will learn
  • Write effective and efficient GPU kernels and device functions
  • Work with libraries such as cuFFT, cuBLAS, and cuSolver
  • Debug and profile your code with Nsight and Visual Profiler
  • Apply GPU programming to data science problems
  • Build a GPU-based deep neural network from scratch
  • Explore advanced GPU hardware features such as warp shuffling
Who this book is for

This book is for developers and data scientists who want to learn the basics of effective GPU programming to improve performance using Python code. Familiarity with mathematics and physics concepts along with some experience with Python and any C-based programming language will be helpful.

Table of Contents
  1. Why GPU Programming?
  2. Setting Up Your GPU Programming Environment
  3. Getting Started with PyCUDA
  4. Kernels, Threads, Blocks, and Grids
  5. Streams, Events, Contexts, and Concurrency
  6. Debugging and Profiling Your CUDA Code
  7. Using the CUDA Libraries with Scikit-CUDA Draft complete
  8. The CUDA Device Function Libraries and Thrust
  9. Implementing a Deep Neural Network
  10. Working with Compiled GPU Code
  11. Performance Optimization in CUDA
  12. Where to Go from Here
Rate this book Rate this book

We would LOVE it if you could help us and other readers by reviewing the book