From 9ab34fff22bb2d6ebedefc702f7ec6c55937e175 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 22 May 2020 17:42:39 +0200 Subject: AVX draft --- inc/mandel.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'inc') diff --git a/inc/mandel.h b/inc/mandel.h index 80cb5f4..d5c8d9b 100644 --- a/inc/mandel.h +++ b/inc/mandel.h @@ -1,6 +1,10 @@ #ifndef MANDEL_H # define MANDEL_H +# ifndef __AVX__ +# error "AVX not supported" +# endif + # include # include # include @@ -78,6 +82,7 @@ typedef struct // mandelbrot.c int mandelbrot(double ca, double cb, int iterations); +void mandelbrot_avx(State *state, Color *pixels, int width, int height); // state.c bool state_init(State *state); -- cgit