
Hands-On GPU Computing with Python
Explore the capabilities of GPUs for solving high performance computational problems
- 452 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Hands-On GPU Computing with Python
Explore the capabilities of GPUs for solving high performance computational problems
About this book
Explore GPU-enabled programmable environment for machine learning, scientific applications, and gaming using PuCUDA, PyOpenGL, and Anaconda Accelerate
Key Features
- Understand effective synchronization strategies for faster processing using GPUs
- Write parallel processing scripts with PyCuda and PyOpenCL
- Learn to use the CUDA libraries like CuDNN for deep learning on GPUs
Book Description
GPUs are proving to be excellent general purpose-parallel computing solutions for high performance tasks such as deep learning and scientific computing.
This book will be your guide to getting started with GPU computing. It will start with introducing GPU computing and explain the architecture and programming models for GPUs. You will learn, by example, how to perform GPU programming with Python, and you'll look at using integrations such as PyCUDA, PyOpenCL, CuPy and Numba with Anaconda for various tasks such as machine learning and data mining. Going further, you will get to grips with GPU work flows, management, and deployment using modern containerization solutions. Toward the end of the book, you will get familiar with the principles of distributed computing for training machine learning models and enhancing efficiency and performance.
By the end of this book, you will be able to set up a GPU ecosystem for running complex applications and data models that demand great processing capabilities, and be able to efficiently manage memory to compute your application effectively and quickly.
What you will learn
- Utilize Python libraries and frameworks for GPU acceleration
- Set up a GPU-enabled programmable machine learning environment on your system with Anaconda
- Deploy your machine learning system on cloud containers with illustrated examples
- Explore PyCUDA and PyOpenCL and compare them with platforms such as CUDA, OpenCL and ROCm.
- Perform data mining tasks with machine learning models on GPUs
- Extend your knowledge of GPU computing in scientific applications
Who this book is for
Data Scientist, Machine Learning enthusiasts and professionals who wants to get started with GPU computation and perform the complex tasks with low-latency. Intermediate knowledge of Python programming is assumed.
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information
Section 1: Computing with GPUs Introduction, Fundamental Concepts, and Hardware
- Chapter 1, Introducing GPU Computing
- Chapter 2, Designing a GPU Computing Strategy
- Chapter 3, Setting Up a GPU Computing Platform with NVIDIA and AMD
Introducing GPU Computing
- The world of GPU computing beyond PC gaming
- Conventional CPU computing – before the advent of GPUs
- How the gaming industry made GPU computing affordable for individuals
- The emergence of full-fledged GPU computing
- The simplicity of Python code and the power of GPUs – a dual advantage
- How GPUs empower science and AI in current times
- The social impact of GPUs
The world of GPU computing beyond PC gaming
What is a GPU?
Conventional CPU computing – before the advent of GPUs
How the gaming industry made GPU computing affordable for individuals
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- About Packt
- Contributors
- Preface
- Section 1: Computing with GPUs Introduction, Fundamental Concepts, and Hardware
- Introducing GPU Computing
- Designing a GPU Computing Strategy
- Setting Up a GPU Computing Platform with NVIDIA and AMD
- Section 2: Hands-On Development with GPU Programming
- Fundamentals of GPU Programming
- Setting Up Your Environment for GPU Programming
- Working with CUDA and PyCUDA
- Working with ROCm and PyOpenCL
- Working with Anaconda, CuPy, and Numba for GPUs
- Section 3: Containerization and Machine Learning with GPU-Powered Python
- Containerization on GPU-Enabled Platforms
- Accelerated Machine Learning on GPUs
- GPU Acceleration for Scientific Applications Using DeepChem
- Appendix A
- Other Books You May Enjoy
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app