8#ifndef KERNEL_LAFEM_ARCH_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_ DotProductBlock::exec_generic_impl(
const ValueType_ *
const x,
const ValueType_ *
const y,
const Index size)
21 for (
Index i(0) ; i < size ; ++i)
23 for(
int j(0); j < ValueType_::n; ++j) {
24 r[j] += x[i][j] * x[i][j];
30 for (
Index i(0) ; i < size ; ++i)
32 for(
int j(0); j < ValueType_::n; ++j) {
33 r[j] += x[i][j] * y[i][j];
std::uint64_t Index
Index data type.