This commit is contained in:
Martin Reinecke 2019-01-10 10:30:07 +01:00
parent 48cafe5c1c
commit ecd6c1b48b
5 changed files with 14 additions and 113 deletions

View file

@ -33,7 +33,20 @@
#define SHARP_VECSUPPORT_H
#include <math.h>
#include "sharp_vecutil.h"
#ifndef VLEN
#if (defined(__AVX512F__))
#define VLEN 8
#elif (defined (__AVX__))
#define VLEN 4
#elif (defined (__SSE2__))
#define VLEN 2
#else
#define VLEN 1
#endif
#endif
typedef double Ts;