8#ifndef KERNEL_LAFEM_ARCH_TRIPLE_DOT_PRODUCT_BLOCK_HPP
9#error "Do not include this implementation-only header file directly!"
12namespace FEAT::LAFEM::Arch
14 template <
typename ValueType_>
15 ValueType_ TripleDotProductBlock::exec_generic_impl(
const ValueType_ *
const x,
const ValueType_ *
const y,
const ValueType_ *
const z,
const Index size)
22 for(
Index i(0); i < size; ++i)
24 for(
int j(0); j < ValueType_::n; ++j)
26 r[j] += x[i][j] * x[i][j] * z[i][j];
33 for (
Index i(0) ; i < size ; ++i)
35 for(
int j(0); j < ValueType_::n; ++j)
37 r[j] += x[i][j] * x[i][j] * y[i][j];
44 for (
Index i(0) ; i < size ; ++i)
46 for(
int j(0); j < ValueType_::n; ++j)
48 r[j] += x[i][j] * y[i][j] * y[i][j];
55 for(
Index i(0); i < size; ++i)
57 for(
int j(0); j < ValueType_::n; ++j)
59 r[j] += x[i][j] * y[i][j] * z[i][j];
std::uint64_t Index
Index data type.