Agora  1.2.0
Agora project
simd_types.h File Reference

Aligned types for SIMD compatibility. More...

#include <boost/align/aligned_allocator.hpp>
#include <complex>
#include <cstddef>
#include <vector>
Include dependency graph for simd_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using SimdAlignByteVector = std::vector< std::byte, boost::alignment::aligned_allocator< std::byte, kSimdAlignment > >
 
using SimdAlignFltVector = std::vector< float, boost::alignment::aligned_allocator< float, kSimdAlignment > >
 
using SimdAlignShrtVector = std::vector< short, boost::alignment::aligned_allocator< short, kSimdAlignment > >
 
using SimdAlignCxFltVector = std::vector< std::complex< float >, boost::alignment::aligned_allocator< std::complex< float >, kSimdAlignment > >
 
using SimdAlignCxShrtVector = std::vector< std::complex< short >, boost::alignment::aligned_allocator< std::complex< short >, kSimdAlignment > >
 

Variables

constexpr size_t kSimdAlignment = 64u
 

Detailed Description

Aligned types for SIMD compatibility.

Typedef Documentation

◆ SimdAlignByteVector

using SimdAlignByteVector = std::vector<std::byte, boost::alignment::aligned_allocator<std::byte, kSimdAlignment> >

◆ SimdAlignCxFltVector

using SimdAlignCxFltVector = std::vector< std::complex<float>, boost::alignment::aligned_allocator<std::complex<float>, kSimdAlignment> >

◆ SimdAlignCxShrtVector

using SimdAlignCxShrtVector = std::vector< std::complex<short>, boost::alignment::aligned_allocator<std::complex<short>, kSimdAlignment> >

◆ SimdAlignFltVector

using SimdAlignFltVector = std::vector<float, boost::alignment::aligned_allocator<float, kSimdAlignment> >

◆ SimdAlignShrtVector

using SimdAlignShrtVector = std::vector<short, boost::alignment::aligned_allocator<short, kSimdAlignment> >

Variable Documentation

◆ kSimdAlignment

constexpr size_t kSimdAlignment = 64u
constexpr