Moved over Legendre transforms from Commander project

This commit is contained in:
Dag Sverre Seljebotn 2015-04-22 13:16:50 +02:00
parent 9a839b8fd3
commit 351180baf4
9 changed files with 1603 additions and 1 deletions

View file

@ -32,6 +32,8 @@
#ifndef SHARP_VECUTIL_H
#define SHARP_VECUTIL_H
#ifndef VLEN
#if (defined (__MIC__))
#define VLEN 8
#elif (defined (__AVX__))
@ -43,3 +45,11 @@
#endif
#endif
#if (VLEN==1)
#define VLEN_s 1
#else
#define VLEN_s (2*VLEN)
#endif
#endif