Skip to content

This fork of the original repository seeks to provide an accelerated variation through CUDA.

Notifications You must be signed in to change notification settings

yousafe007/CUDA-accelerated-Mandelbrot

 
 

Repository files navigation

Mandelbrot_set

Here you could find the code for The Mandelbrot set in C++11, for more informations visit the project webpage:

http://solarianprogrammer.com/2013/02/28/mandelbroot-set-cpp-11/

In order to compile on your machine you'll need FreeImage installed. The code was tested with the latest stable Clang (from Xcode 4.6) and GCC 4.7.2.

  • If you have a Ubuntu (version 12.10 comes with GCC 4.7.2) machine with GCC 4.7.2 and libfreeimage-dev installed, you can compile the code with:

g++ -std=c++11 -O3 save_image.cpp utils.cpp mandel.cpp -lfreeimage

  • If you use Ubuntu 12.04, the default GCC is 4.6.x. You can still compile the code by commenting any line that uses the <chrono> header, you need to do this only in mandel.cpp. You can compile the code with:

g++ -std=c++0x save_image.cpp utils.cpp mandel.cpp -lfreeimage

  • For OS X (Xcode 4.6 with command line tools and FreeImage installed) you could use:

clang++ -std=c++11 -stdlib=libc++ save_image.cpp utils.cpp mandel.cpp -lfreeimage

You could use this program under the terms of GPL v3, for more details see:

http://www.gnu.org/copyleft/gpl.html

Copyright 2013 Sol from www.solarianprogrammer.com

About

This fork of the original repository seeks to provide an accelerated variation through CUDA.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 90.3%
  • Python 6.5%
  • C 3.2%