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
✔ Author(s): Dr. Brian Tuomanen
✔ Title: Hands-On GPU Programming with Python and CUDA: Explore high-performance parallel computing with CUDA
✔ Rating : 4.5 out of 5 base on (29 reviews)
✔ ISBN-10: 1788993918
✔ Language: English
✔ Format ebook: PDF, EPUB, Kindle, Audio, HTML and MOBI
✔ Device compatibles: Android, iOS, PC and Amazon Kindle
Readers' opinions about Hands by Dr. Brian Tuomanen
Kateline Powell
Unravel the secrets of a small town with a dark past in this gripping thriller. The author's atmospheric writing and suspenseful plot make for a page-turner. Each character's hidden motives and secrets add to the tension. The twists and surprises keep you guessing until the very end. It's a chilling and captivating read that you won't want to put down. Perfect for fans of mystery and suspense.
Leeann Little
Experience the thrill of a heist gone wrong in this fast-paced crime novel. The author's detailed plotting and dynamic characters create a compelling narrative. Each twist and turn in the story keeps you hooked from start to finish. The tension and suspense build with each chapter, making it a page-turner. It's an exhilarating read that captures the essence of high-stakes crime. Perfect for fans of heist stories and thrillers.
Amelie John
Follow the heartwarming journey of a group of friends navigating life's challenges together. The author's empathetic writing and well-developed characters create a deeply emotional experience. Each chapter explores themes of friendship, love, and resilience with sensitivity. The plot's twists and turns keep you engaged throughout. It's a story that celebrates the bonds that connect us. Perfect for readers who enjoy stories about friendship and community.
96 Miles, Ballpark Mysteries #17: The Triple Play Twins, Grow Up and Love Your Body!: The Complete Boys Guide to Growing Up Age 8-12 incl. Body-Care and Self-Esteem Special, Discerning the Plight of Man (Biblical Foundations for the Christian Faith), The Piece That Fits (Offstage Series), Phantastes: A Faerie Romance for Men and Women (Annotated): Illustrated | Newer Edition of the Original 1905 Publication, Project Planning and Management: A Guide for Nurses and Interprofessional Teams: A Guide for Nurses and Interprofessional Teams, Jane Doe (A Jane Doe Thriller), Kid Youtuber 9: Everything is Fine: From the Creator of Diary of a 6th Grade Ninja, The Galveston Diet – Mary Claire Haver,