Skip to content

This repository involves all the CUDA code that I write in C++ to learn CUDA GPU Programming

Notifications You must be signed in to change notification settings

thilak-tp/gpu-cuda-programming

Repository files navigation

CUDA Programming Projects

This repository involves all the CUDA code that I write in C++ to learn CUDA GPU Programming screenshot

  1. 1.basic_hello_world - A simple hello world program

  2. 2.number_addition - A simple program that adds two numbers in the GPU and prints the output

  3. 3.count_till_billion - A simple program to count till a billion using CPU and GPU and then compare their performance

  4. 4.vector_addition - A program to add two vectors of length n using CPU and GPU and then compare their performance

  5. 5.blocks_threads - A simple program to learn about dim3 vector type for understanding grids/blocks/threads Total number of threads = No. of blocks * No. of threads per block Note: While passing no. of blocks and no. of threads, we can directly specifiy the no. of blocks and the number of threads using integers instead of dim3 variables as well.


My System Specifications

Processor : Intel Core i7 - 12650H (10 Cores/16 Thread)
GPU       : Nvidia RTX 3070 Ti, Mobile (8GB GDDR6 VRAM/ 5888 CUDA Cores / 46 SMs)
RAM       : 16GB DDR4

About

This repository involves all the CUDA code that I write in C++ to learn CUDA GPU Programming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages