Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

cuda-100-days

Learning to write cuda kernels with 100 Days of CUDA challenge


Day 1

File: vectorAddition.cu

Summary:
Implemented vector addition by writing a simple CUDA program. Explored how to launch a kernel to perform a parallelized addition of two arrays, where each thread computes the sum of a pair of values.

Learned:

  • Basics of writing a CUDA kernel.
  • Understanding of grid, block, and thread hierarchy in CUDA.
  • How to allocate and manage device (GPU) memory using cudaMalloc, cudaMemcpy, and cudaFree.

Reading:

  • Read Chapter 1 of the PMPP book.
    • Learned about the fundamentals of parallel programming, CUDA architecture, and the GPU execution model.

About

Learning to write cuda kernels with 100 Days of CUDA challenge

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages