8#ifndef KERNEL_LAFEM_ARCH_SCALE_BLOCK_HPP
9#error "Do not include this implementation-only header file directly!"
12namespace FEAT::LAFEM::Arch
14 template <
typename ValueType_>
15 void ScaleBlock::exec_generic_impl(ValueType_ * r,
const ValueType_ *
const x,
const ValueType_ alpha,
const Index size)
19 FEAT_PRAGMA_OMP(parallel
for)
20 for (
Index i = 0 ; i < size ; ++i)
22 for(
int j = 0; j < ValueType_::n; ++j)
30 FEAT_PRAGMA_OMP(parallel
for)
31 for (
Index i = 0 ; i < size ; ++i)
33 for(
int j = 0; j < ValueType_::n; ++j)
35 r[i][j] = x[i][j] * alpha[j];
std::uint64_t Index
Index data type.