-
Book Overview & Buying
-
Table Of Contents
GPU-Accelerated Computing with Python 3 and CUDA
By :
In this chapter, we demonstrated how to set up a development environment to do CUDA programming with Python, which will be required to follow along with the rest of this book. We explained how to configure a local environment on Linux, Windows, and inside WSL, which is applicable when an NVIDIA GPU is available. Data center-grade GPUs can be rented at a fraction of the cost using cloud VMs or services such as Google Colab. However, always remember to turn off VMs when they are no longer in use!
To easily install all the CUDA and Python libraries, we introduced the Pixi package manager, which creates reproducible environments and installs packages from the conda ecosystem.
Now that we have a working environment with which we can run scripts and notebooks, it's time to get our hands dirty. In the next chapter, we will introduce the basics of CUDA programming using numba.cuda.