aboutsummaryrefslogtreecommitdiff
path: root/inc/mandel.h
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-05-22 17:42:39 +0200
committerCharles <sircharlesaze@gmail.com>2020-05-22 17:42:39 +0200
commit9ab34fff22bb2d6ebedefc702f7ec6c55937e175 (patch)
tree311aae03ddf5ac62cb1c0b678eda954a7fa5f15a /inc/mandel.h
parent6d4c3864e3b742a92e9874f1e4dfe3a9c1565188 (diff)
downloadmandelbrot_cpu-9ab34fff22bb2d6ebedefc702f7ec6c55937e175.tar.gz
mandelbrot_cpu-9ab34fff22bb2d6ebedefc702f7ec6c55937e175.tar.bz2
mandelbrot_cpu-9ab34fff22bb2d6ebedefc702f7ec6c55937e175.zip
AVX draftHEADmaster
Diffstat (limited to 'inc/mandel.h')
-rw-r--r--inc/mandel.h5
1 files changed, 5 insertions, 0 deletions
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 <stdlib.h>
# include <stdbool.h>
# include <math.h>
@@ -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);