![]() |
Mali OpenCL SDK v1.1.0
|
#include "common.h"
#include "image.h"
#include <CL/cl.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <cstddef>
#include <cmath>
#include <sys/time.h>
Go to the source code of this file.
Functions | |
int | main (void) |
A sample which generates Mandelbrot data for a given data size. | |
int main | ( | void | ) |
A sample which generates Mandelbrot data for a given data size.
For a given height and width, the sample will test each pixel to work out how many iterations it takes to determine if the value is not part of the Mandelbrot set. This data is output as a greyscale bitmap image. White pixels could not be ruled out of the Mandelbrot set in the number of iterations used.
Definition at line 33 of file mandelbrot.cpp.