Variable vector_width_for¶
variable vector_width_for simd¶
template <typename T, cpu_t cpu>
constexpr static size_t vector_width_for =
(std::max(size_t(1), typeclass<T> == datatype::f ? platform<cpu>::native_float_vector_size / sizeof(T)
: platform<cpu>::native_int_vector_size / sizeof(T))) SIMD vector width (in elements) for type T on the given CPU.
| T | The element type. |
| cpu | The CPU instruction set to query. |
Fully qualified name: kfr::vector_width_for
Declared at simd/platform.hpp:439
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.