Skip to content

AlexandreLamure/GPU-mandelbrot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPU-mandelbrot

This project is a Mandelbrot fractal implementation in C++ on GPU using Nvidia CUDA.

We wanted to benchmark our results, so we implemented three versions :

  • CPU single-threaded version
  • CPU multithreaded version
  • GPU version

Getting started

Two binaries are produced by our CMake.

mandel

This one simply runs the algorithm and output a PNG file with the Mandelbrot fractal. You can specify the version to run with the flag -m and one of the following: {CPU, MT, GPU}.

bench

This one benchmark the three versions using Google Benchmark library.

Output

Here is an example of our Mandelbrot fractal: Mandelbrot fractal

Results

We ran our benchmark on multiple image size and multiple fractal iteration number to get more detailed results: Image size benchmark

Iteration benchmark

About

Mandelbrot drawing using CUDA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published