POSIX Shared Memory Data Structures 1.0
High-performance lock-free data structures for inter-process communication
|
Helper class for SIMD operations on shm_array. More...
#include <shm_simd_utils.h>
Public Member Functions | |
SimdArray (shm_array< float, TableType > &array) | |
float | sum () const noexcept |
float | min () const noexcept |
float | max () const noexcept |
void | scale (float factor) noexcept |
float | dot (const shm_array< float, TableType > &other) const noexcept |
Helper class for SIMD operations on shm_array.
TableType | Metadata table type |
Definition at line 313 of file shm_simd_utils.h.
|
inlineexplicit |
Definition at line 318 of file shm_simd_utils.h.
|
inlinenoexcept |
Definition at line 336 of file shm_simd_utils.h.
References shm_array< T, TableType >::data(), shm_simd::dot_product(), and shm_array< T, TableType >::size().
|
inlinenoexcept |
Definition at line 328 of file shm_simd_utils.h.
References shm_array< T, TableType >::data(), shm_simd::max_float(), and shm_array< T, TableType >::size().
Referenced by main().
|
inlinenoexcept |
Definition at line 324 of file shm_simd_utils.h.
References shm_array< T, TableType >::data(), shm_simd::min_float(), and shm_array< T, TableType >::size().
Referenced by main().
|
inlinenoexcept |
Definition at line 332 of file shm_simd_utils.h.
References shm_array< T, TableType >::data(), shm_simd::scale_floats(), and shm_array< T, TableType >::size().
|
inlinenoexcept |
Definition at line 320 of file shm_simd_utils.h.
References shm_array< T, TableType >::data(), shm_array< T, TableType >::size(), and shm_simd::sum_floats().
Referenced by main().