GPU Parallelization in Go
GPU accelerated programming is becoming more and more important in today's high-performance computing stacks. It is commonly used in fields such as Artificial Intelligence (AI) and Machine Learning (ML). GPUs are commonly used for these tasks because they tend to be excellent for parallel computation.
In this chapter, we will learn about Cgo, GPU accelerated programming, CUDA (short for Compute Unified Device Architecture), make commands, C style linking for Go programs, and executing a GPU enabled process within a Docker container. Learning all of these individual things will help us to use a GPU to power a Go backed CUDA program. Doing this will help us to determine how we can use the GPU effectively to help solve ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access