-
Book Overview & Buying
-
Table Of Contents
GPU-Accelerated Computing with Python 3 and CUDA
By :
We require a system equipped with a CUDA-enabled NVIDIA GPU that has 1 GB of VRAM. The necessary packages, including Numba and the Nsight Compute CLI tool, will be used in this chapter. We use Pixi as a dependency management tool that installs these packages. To set up the environment, simply run pixi install in the root directory of the book's GitHub repository. This will ensure that all dependencies are installed. Once the installation is complete, you can activate the environment using pixi shell.
Run the following command in the terminal to install Pixi.
pixi run jupyter-lab
This will start JupyterLab, a browser-based environment to run Jupyter notebooks.
The chapter's code is available on GitHub and can be accessed via this link: https://github.com/PacktPublishing/GPU-Accelerated-Computing-with-Python-3-and-CUDA. Please check the README file for more details and setup instructions.