FflasFfpack
|
Public Types | |
using | Field = Modular< Elt > |
using | Elt_ptr = typename Field::Element_ptr |
using | Residu = typename Field::Residu_t |
template<bool B, class T = void> | |
using | enable_if_t = typename std::enable_if< B, T >::type |
template<typename Simd > | |
using | is_same_element = typename Simd::template is_same_element< Field > |
template<typename E > | |
using | enable_if_no_simd_t = enable_if_t< Simd< E >::vect_size==1 > |
template<typename E > | |
using | enable_if_simd128_t = enable_if_t< sizeof(E) *Simd< E >::vect_size==16 > |
template<typename E > | |
using | enable_if_simd256_t = enable_if_t< sizeof(E) *Simd< E >::vect_size==32 > |
template<typename E > | |
using | enable_if_simd512_t = enable_if_t< sizeof(E) *Simd< E >::vect_size==64 > |
Public Member Functions | |
Bench (size_t m, size_t n, size_t iters, bool inplace) | |
template<typename Simd = NoSimd<Elt>, enable_if_t< is_same_element< Simd >::value > * = nullptr> | |
void | doBenchs () |
template<typename _E = Elt, enable_if_t< is_same< _E, Elt >::value > * = nullptr, enable_if_no_simd_t< _E > * = nullptr> | |
void | run (bool allsimd) |
Static Public Member Functions | |
template<typename _E = Elt, enable_if_t<!is_same< _E, Givaro::Integer >::value > * = nullptr> | |
static Residu | cardinality () |
template<typename _E = Elt, enable_if_t< is_same< _E, Givaro::Integer >::value > * = nullptr> | |
static Residu | cardinality () |
Protected Attributes | |
Field | F |
const size_t | m |
const size_t | n |
const size_t | iters |
const bool | inplace |
using Field = Modular<Elt> |
using Elt_ptr = typename Field::Element_ptr |
using Residu = typename Field::Residu_t |
using enable_if_t = typename std::enable_if<B, T>::type |
using is_same_element = typename Simd::template is_same_element<Field> |
using enable_if_no_simd_t = enable_if_t<Simd<E>::vect_size == 1> |
using enable_if_simd128_t = enable_if_t<sizeof(E)*Simd<E>::vect_size == 16> |
using enable_if_simd256_t = enable_if_t<sizeof(E)*Simd<E>::vect_size == 32> |
using enable_if_simd512_t = enable_if_t<sizeof(E)*Simd<E>::vect_size == 64> |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |