batmat 0.0.15
Batched linear algebra routines
Loading...
Searching...
No Matches
batmat::datapar Namespace Reference

Typedefs

template<class Tp, class Abi>
using simd = stdx::simd<Tp, Abi>
template<class Tp, std::size_t Np>
using deduced_abi = stdx::simd_abi::deduce_t<Tp, Np>
template<class Tp, std::size_t Np>
using deduced_simd = simd<Tp, deduced_abi<Tp, Np>>
template<class Tp, class Abi>
using simd_size = stdx::simd_size<Tp, Abi>
template<class Tp, class Abi>
using simd_align = stdx::memory_alignment<simd<Tp, Abi>>
template<class T, class V>
using rebind_simd_t = stdx::rebind_simd_t<T, V>
template<class Tp>
using scalar_abi = deduced_abi<Tp, 1>

Functions

template<class V>
unaligned_load (const typename V::value_type *p)
template<class V>
aligned_load (const typename V::value_type *p)
template<class V>
void unaligned_store (V v, typename V::value_type *p)
template<class V>
void aligned_store (V v, typename V::value_type *p)
template<class V>
void masked_aligned_store (V v, typename V::mask_type m, typename V::value_type *p)
template<class V>
auto to_intrin (V v)
template<class V>
constexpr V from_values (auto... values)

Typedef Documentation

◆ simd

template<class Tp, class Abi>
using batmat::datapar::simd = stdx::simd<Tp, Abi>

Definition at line 99 of file simd.hpp.

◆ deduced_abi

template<class Tp, std::size_t Np>
using batmat::datapar::deduced_abi = stdx::simd_abi::deduce_t<Tp, Np>

Definition at line 101 of file simd.hpp.

◆ deduced_simd

template<class Tp, std::size_t Np>
using batmat::datapar::deduced_simd = simd<Tp, deduced_abi<Tp, Np>>

Definition at line 103 of file simd.hpp.

◆ simd_size

template<class Tp, class Abi>
using batmat::datapar::simd_size = stdx::simd_size<Tp, Abi>

Definition at line 137 of file simd.hpp.

◆ simd_align

template<class Tp, class Abi>
using batmat::datapar::simd_align = stdx::memory_alignment<simd<Tp, Abi>>

Definition at line 139 of file simd.hpp.

◆ rebind_simd_t

template<class T, class V>
using batmat::datapar::rebind_simd_t = stdx::rebind_simd_t<T, V>

Definition at line 141 of file simd.hpp.

◆ scalar_abi

template<class Tp>
using batmat::datapar::scalar_abi = deduced_abi<Tp, 1>

Definition at line 143 of file simd.hpp.

Function Documentation

◆ unaligned_load()

template<class V>
V batmat::datapar::unaligned_load ( const typename V::value_type * p)

Definition at line 106 of file simd.hpp.

◆ aligned_load()

template<class V>
V batmat::datapar::aligned_load ( const typename V::value_type * p)

Definition at line 111 of file simd.hpp.

◆ unaligned_store()

template<class V>
void batmat::datapar::unaligned_store ( V v,
typename V::value_type * p )

Definition at line 116 of file simd.hpp.

◆ aligned_store()

template<class V>
void batmat::datapar::aligned_store ( V v,
typename V::value_type * p )

Definition at line 121 of file simd.hpp.

◆ masked_aligned_store()

template<class V>
void batmat::datapar::masked_aligned_store ( V v,
typename V::mask_type m,
typename V::value_type * p )

Definition at line 126 of file simd.hpp.

◆ to_intrin()

template<class V>
auto batmat::datapar::to_intrin ( V v)

Definition at line 131 of file simd.hpp.

◆ from_values()

template<class V>
V batmat::datapar::from_values ( auto... values)
constexpr

Definition at line 155 of file simd.hpp.