Search  for anything...

Hands-On GPU Programming with Python and CUDA

  • Based on 29 reviews
Condition: New
Checking for product changes
$45.97 Why this price?
Save $3.02 was $48.99

Buy Now, Pay Later


As low as $11 / mo
  • – 4-month term
  • – No impact on credit
  • – Instant approval decision
  • – Secure and straightforward checkout

Ready to go? Add this product to your cart and select a plan during checkout. Payment plans are offered through our trusted finance partners Klarna, PayTomorrow, Affirm, Afterpay, Apple Pay, and PayPal. No-credit-needed leasing options through Acima may also be available at checkout.

Learn more about financing & leasing here.

Free shipping on this product

30-day refund/replacement

To qualify for a full refund, items must be returned in their original, unused condition. If an item is returned in a used, damaged, or materially different state, you may be granted a partial refund.

To initiate a return, please visit our Returns Center.

View our full returns policy here.


Availability: In Stock.
Fulfilled by Amazon

Arrives Wednesday, Feb 12
Order within 17 hours and 56 minutes
Available payment plans shown during checkout

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 FeaturesGet to grips with GPU programming tools such as PyCUDA, scikit-cuda, and NsightExplore CUDA libraries such as cuBLAS, cuFFT, and cuSolverApply GPU programming to modern data science applicationsBook DescriptionGPU 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 learnWrite effective and efficient GPU kernels and device functionsWork with libraries such as cuFFT, cuBLAS, and cuSolverDebug and profile your code with Nsight and Visual ProfilerApply GPU programming to data science problemsBuild a GPU-based deep neural network from scratchExplore advanced GPU hardware features such as warp shufflingWho this book is forThis 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 ContentsWhy GPU Programming?Setting Up Your GPU Programming EnvironmentGetting Started with PyCUDAKernels, Threads, Blocks, and GridsStreams, Events, Contexts, and ConcurrencyDebugging and Profiling Your CUDA CodeUsing the CUDA Libraries with Scikit-CUDA Draft completeThe CUDA Device Function Libraries and ThrustImplementing a Deep Neural Network Working with Compiled GPU Code Performance Optimization in CUDA Where to Go from Here Read more

Publisher ‏ : ‎ Packt Publishing (November 28, 2018)


Language ‏ : ‎ English


Paperback ‏ : ‎ 310 pages


ISBN-10 ‏ : ‎ 1788993918


ISBN-13 ‏ : ‎ 13


Item Weight ‏ : ‎ 1.21 pounds


Dimensions ‏ : ‎ 9.25 x 7.52 x 0.65 inches


Best Sellers Rank: #1,028,020 in Books (See Top 100 in Books) #56 in Parallel Computer Programming #719 in Computer Programming Languages #1,061 in Python Programming


#56 in Parallel Computer Programming:


#719 in Computer Programming Languages:


Frequently asked questions

If you place your order now, the estimated arrival date for this product is: Wednesday, Feb 12

Yes, absolutely! You may return this product for a full refund within 30 days of receiving it.

To initiate a return, please visit our Returns Center.

View our full returns policy here.

  • Klarna Financing
  • Affirm Pay in 4
  • Affirm Financing
  • Afterpay Financing
  • PayTomorrow Financing
  • Financing through Apple Pay
Leasing options through Acima may also be available during checkout.

Learn more about financing & leasing here.

Top Amazon Reviews


  • The book is practical for new learners
I followed the guides in the book and adapted the codes from the book in my own kernel which is running correctly now. The author was recommending that Python 2 is more stable than 3, which is very true -- with 3, I got many strange nvcc errors, even for the sample codes of the book when only a blank space or a blank line was added. I would recommend the book anyone who needs to save their time. ... show more
Reviewed in the United States on May 6, 2019 by Yading Yue

  • Hands-On GPU Programming with Python and CUDA
Good book, and came fast
Reviewed in the United States on February 27, 2023 by Alexander Shnaiderman

  • Practically-Oriented, Beginner-Friendly, Comprehensive and a Cool, Engaging Author
This book has given tremendous practical value to my projects as a researcher and engineer. A few words could never do it justice, but it’s for anyone seeking 100x speed improvements without having to give up the ease and comfort of Python’s development environment. It goes step by step through implementations of highly performant heterogenous computing programs right within Python, with readily reusable kernels—but it also treats the theoretical aspects in depth, covering core concepts in both CUDA C and general massively parallelized systems design. About to start on another ML project, I waited impatiently for the second edition to implement the changes moving from Python 2.x to 3. It’s unfortunate that its release has been delayed so, but when I reached out to the author directly I was shocked to have him offer to help and share his updated materials and notes from the upcoming second edition. I’m truly honoured, forever grateful and looking forward to more titles from him. ... show more
Reviewed in the United States on November 27, 2021 by Ahmad Junaid

  • Learn CUDA on Google Colab without buying a GPU!
This book is clear, thorough, and comprehensive. Because it leverages PyCUDA, a python interface to the NVIDIA compiler, you can work your way through the book using free Colab notebooks with GPU runtimes. This is helpful if you don't already have a NVIDIA GPU, for example if you own a Mac as I do. The code uses Python 2 which is being phased out on Colab so you may need to convert the code to Python 3. There are websites and scripts that do this automatically. This book also makes a good predecessor to another good book "Professional CUDA C Programming" or the two can be read in parallel (pun intended). Highly recommended! ... show more
Reviewed in the United States on January 9, 2020 by Mark Ettinger

  • Excellent introductory text
This book is an excellent introduction on how to program a GPU. I use it in my split-level course on parallel processing and GPU programming. It explains key concepts very clearly.
Reviewed in the United States on August 25, 2022 by Joseph Picone

  • The book for working with GPUs for high performance computing
This book is a important resource for engineers, developers, or researchers who need to maximize performance in their GPU based applications. Furthermore the authour provides excellent examples of working with GPUs directly from python. While the book uses python the general GPU concepts can be used for any programming platform. ... show more
Reviewed in the United States on February 24, 2019 by Kindle Customer

  • Extremely useful and hands-on.
This is truly an incredible resource for beginners as well as software engineers alike. The author does an amazing job of explaining core cuda principles with concrete examples of how to implement efficient and readable code in python. I definitely recommend this book to anyone interested in diving deeper into GPU acceleration. ... show more
Reviewed in the United States on March 31, 2019 by Sujeeth Bharadwaj

Can't find a product?

Find it on Amazon first, then paste the link below.