cphys / Dot-Product-GPU-vs-CPU-CUDA

Comparison of accuracy and calculation time of dot product of two arrays calculated using GPU/CUDA and CPU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dot product CPU vs GPU

Compares dot product accuracy and calculation time calculated with GPU/CUDA vs CPU

Instructions

  • running make file will create executable.
  • Running executable will output the value of the dot product calculated using both the CPU and GPU
  • a comparison of the accuracy be done by calculating the % difference between the values
  • calculation times will be given along with time taken to transfer data to and from the GPU

To Do

  • Improve documentation and commenting

About

Comparison of accuracy and calculation time of dot product of two arrays calculated using GPU/CUDA and CPU


Languages

Language:Cuda 94.8%Language:Makefile 5.2%