MandelbrotCUDA/Mandelbrot/main.cu

21 lines
277 B
Plaintext
Raw Normal View History

2020-07-16 21:56:17 +00:00
#include <complex>
#include "MainWindow.cuh"
fComplex64 func(fComplex64 z, fComplex64 c)
{
return z * z + c;
}
int main(int argc, char** argv)
{
SDL_Init(SDL_INIT_VIDEO);
MainWindow window;
window.SetFunction(func);
window.Launch(false);
window.Stop();
return 0;
}