31 #ifndef REMORA_KERNELS_DEFAULT_SIMD_HPP 32 #define REMORA_KERNELS_DEFAULT_SIMD_HPP 34 #include <boost/version.hpp> 38 #if (BOOST_VERSION >= 106300) 39 #include <boost/align/assume_aligned.hpp> 40 #include <boost/align/aligned_allocator.hpp> 41 #else//subset of boost/align 1.63 42 #include "boost_align/assume_aligned.hpp" 43 #include "boost_align/aligned_allocator.hpp" 50 #define REMORA_VECTOR_LENGTH 32 52 #define REMORA_VECTOR_LENGTH 16 55 namespace remora{
namespace bindings{
namespace detail{
59 #ifdef REMORA_USE_SIMD 61 #ifdef BOOST_COMP_CLANG_DETECTION 62 typedef T type __attribute__((ext_vector_type (vector_elements)));
67 static const std::size_t vector_elements = 1;
70 static const std::size_t align = 64;