-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.hpp
31 lines (27 loc) · 676 Bytes
/
config.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef CONFIG_HPP_INCLUDED
#define CONFIG_HPP_INCLUDED
// Uncomment/comment to enable/disable SSE computations
#define USE_SSE
// Uncomment/comment to enable/disable AVX computations
//#define USE_AVX
// Uncomment/comment to enable/disable NEON computations
//#define USE_NEON
#ifdef _WIN32
#define INLINE __forceinline
#else
#define INLINE inline __attribute__((always_inline))
#endif
#include "timer.hpp"
#include "naive_implementation.hpp"
#include "expression_template.hpp"
#include "expression_template_simd.hpp"
#ifdef USE_SSE
#include "sse_array.hpp"
#endif
#ifdef USE_AVX
#include "avx_array.hpp"
#endif
#ifdef USE_NEON
#include "neon_array.hpp"
#endif
#endif