-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsimd_helpers.hpp
44 lines (36 loc) · 1.71 KB
/
simd_helpers.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
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef _SIMD_HELPERS_HPP
#define _SIMD_HELPERS_HPP
#if (__cplusplus < 201103) && !defined(__GXX_EXPERIMENTAL_CXX0X__)
#error "This source file needs to be compiled with C++11 support (g++ -std=c++11)"
#endif
// Note: for API reference, the place to start is simd_helpers/core.hpp !
// Core data types.
#include "simd_helpers/core.hpp"
#include "simd_helpers/simd_int32.hpp" // simd_t<int,S>
#include "simd_helpers/simd_int64.hpp" // simd_t<int64_t,S>
#include "simd_helpers/simd_float16.hpp" // 16-bit floating-point (storage type only)
#include "simd_helpers/simd_float32.hpp" // simd_t<float,S>
#include "simd_helpers/simd_float64.hpp" // simd_t<double,S>
#include "simd_helpers/simd_ntuple.hpp" // simd_ntuple<T,S,N>
#include "simd_helpers/simd_trimatrix.hpp" // simd_trimatrix<T,S,N>
// Core kernels.
#include "simd_helpers/align.hpp"
#include "simd_helpers/cast.hpp"
#include "simd_helpers/convert.hpp"
#include "simd_helpers/downsample.hpp"
#include "simd_helpers/median.hpp"
#include "simd_helpers/quantize.hpp"
#include "simd_helpers/sort.hpp"
#include "simd_helpers/transpose.hpp"
#include "simd_helpers/upsample.hpp"
// Special functions.
#include "simd_helpers/exp.hpp"
#include "simd_helpers/log.hpp"
#include "simd_helpers/log_add.hpp"
// Old upsampling/downsampling API, to be removed soon.
#include "simd_helpers/udsample.hpp" // upsample(), downsample()
#include "simd_helpers/downsample_max.hpp" // downsample_max()
#include "simd_helpers/downsample_bitwise_or.hpp" // downsample_bitwise_or()
// Not included by default, but contains useful debug stuff (e.g. print-routines)
// #include "simd_helpers/simd_debug.hpp"
#endif