An Even Easier Introduction to CUDA

If anyone with a newer GPU runs the profiler command as mentioned in the tutorial like this:

nvprof ./add_cuda

And you get this warning:

======== Warning: nvprof is not supported on devices with compute capability 8.0 and higher.
                  Use NVIDIA Nsight Systems for GPU tracing and CPU sampling and NVIDIA Nsight Compute for GPU profiling.
                  Refer https://developer.nvidia.com/tools-overview for more details.

To resolve this, instead use the new profiler tool, like this:

nsys profile --stats=true ./add_cuda