Code covered by the BSD License  

Highlights from
A GPU Mandelbrot Set

5.0

5.0 | 2 ratings Rate this file 108 Downloads (last 30 days) File Size: 160 KB File ID: #30988
image thumbnail

A GPU Mandelbrot Set

by

 

25 May 2011 (Updated )

Explore the Mandelbrot Set using MATLAB and a GPU.

| Watch this File

File Information
Description

This application allows you to explore the wonders of the Mandelbrot Set in MATLAB with the help of a capable GPU. It is primarily intended as a demonstration of the different ways in which a MATLAB algorithm can be converted to run on the GPU, however it also has some fun features:
* Use the normal MATLAB zoom and pan to browse the Mandelbrot Set
* Sit back and watch the app pan and zoom between pre-stored locations in the set
* Add your own locations to the animation list

Three different ways of speeding up the algorithm using GPU hardware are provided along with a normal CPU-only version. Have a look at the code for these to get a feeling for how MATLAB's GPU support works.

See also the related "GPU Julia Set Explorer": http://www.mathworks.com/matlabcentral/fileexchange/33201

NB: Requires MATLAB R2012a or above with Parallel Computing Toolbox and a GPU with CUDA Compute Capability 1.3 or above.

Required Products Parallel Computing Toolbox
MATLAB release MATLAB 7.14 (R2012a)
MATLAB Search Path
/
/GPUMandelbrot-v1p4
Other requirements GPU with CUDA Compute Capability 1.3 or above.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
28 Aug 2014 Christopher  
04 Aug 2011 Ohad  
Updates
25 May 2011

Fix incorrect required MATLAB version (requires R2011a, not R2010b)

20 Oct 2011

Add Julia Set link to description.

15 Nov 2011

* Fix warnings when animating with an odd window size
* Guard against the window closing to prevent an error when exiting

01 May 2012

* Add animation button to toolbar
* Fix display freeze when toggling control panel on/off

01 Nov 2012

* Updated to use new "gpuArray" names for build functions.
* MATLAB App included for ease of installation/removal.

15 Oct 2014

Fix compatibility with R2014b

Contact us