Skip to content

CUDA in Google Colab and heavy python automation for building CPU/GPU speed comparison

Notifications You must be signed in to change notification settings

Netz00/CUDA-box-filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CUDA_Box-filter

This repository has been created for college assignments in the Advanced Computer Architecture subject during the summer semester of 2022/2023.

Exercises

Project

Project is demonstrating implementation of the box filter for

  • CPU
    • Single thread
  • GPU
    • Without shared memory usage
    • With shared memory usage

Project is written in the form of Jupyter Notebook and developed with Google Colab (GPU).

👉 Project Notebook

Key features

  • filter results generated by different algorithms are asserted using checksum inside Google Colab Notebook, to skip slow file download from Google Colab
  • CPU/GPU speed comparison analytics are build automatically with python script

Results

Following 4 images demonstrate filter usage (original images were resized).

Original

Filter radius 4 px

Filter radius 7 px

Filter radius 14 px