Skip to content

greninja/cuda_programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

About

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.

Reference

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.

Requirements

  • NVIDIA GPU with CUDA support
  • CUDA Toolkit
  • NVCC (NVIDIA CUDA Compiler)
  • C++ compiler

Example: building and running

To build the vector addition program:

cd vector_add
nvcc main.cpp vector_add.cu -o vector_add
./vector_add

About

CUDA programming examples and implementations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published