Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Quick Overview

This project demonstrates how to perform a simple element-wise summation of three arrays using both CPU and GPU (CUDA) approaches. It includes:

CPU Implementation: A standard loop-based summation using C++.
GPU Implementation: A CUDA kernel that sums three arrays in parallel.
Performance Comparison: Execution times are measured using C++ chrono for the CPU and CUDA events for the GPU.

This example is ideal for beginners looking to understand CUDA programming and the nuances of performance measurement between CPU and GPU executions.

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages