This repository contains CUDA programming examples and implementations. These programs are part of my learning journey with CUDA programming. This repository includes various CUDA programs that demonstrate parallel computing concepts using NVIDIA's CUDA platform. The programs cover fundamental operations like vector addition and more complex parallel algorithms.
I heavily referred this book:
Programming Massively Parallel Processors: A Hands-on Approach by Wen-mei W. Hwu, David B. Kirk, and Izzat El Hajj
to get a grasp of CUDA fundamentals and more advanced topics.
- NVIDIA GPU with CUDA support
- CUDA Toolkit
- NVCC (NVIDIA CUDA Compiler)
- C++ compiler
To build the vector addition program:
cd vector_add
nvcc main.cpp vector_add.cu -o vector_add
./vector_add