Technical requirements
We will use the environment configured during Chapter 3 with VS Code and our development container. If you have chosen to install the CUDA Toolkit on your machine, you can simply run the build commands on a terminal. We will also use a new tool called NVIDIA Nsight Compute to profile our code, which is a GUI-based tool available both in our container as well as on the local installation. The official documentation can be found at https://docs.nvidia.com/nsight-compute/index.html. All the code for this chapter is provided in the GitHub repository https://github.com/PacktPublishing/GPU-Programming-with-CPP-and-CUDA/tree/main/ch7.