8#ifndef KERNEL_LAFEM_ARCH_SLIP_FILTER_BLOCK_HPP
9#error "Do not include this implementation-only header file directly!"
13namespace FEAT::LAFEM::Arch
15 template <
typename DT_,
typename IT_>
16 void SlipFilterBlock::exec_generic_impl(DT_ * v,
const DT_ *
const f_nu,
const IT_ *
const f_idx,
const Index f_nzes,
const int bs)
20 FEAT_PRAGMA_OMP(parallel
for)
21 for(
Index i = 0; i < f_nzes; ++i)
25 for(
Index j = 0 ; j < block_size ; ++j)
27 sp += v[block_size * f_idx[i] + j] *f_nu[block_size * i + j];
28 scal += f_nu[block_size * i + j]*f_nu[block_size * i + j];
33 for(
Index j = 0 ; j < block_size ; ++j)
34 v[block_size * f_idx[i] + j] -= sp*f_nu[block_size * i + j];
std::uint64_t Index
Index data type.