8#ifndef KERNEL_LAFEM_ARCH_MIRROR_SPARSE_BLOCK_GATHER_HPP
9#error "Do not include this implementation-only header file directly!"
12namespace FEAT::LAFEM::Arch
14 template<
typename DT_,
typename IT_>
15 void MirrorSparseBlockGather::exec_generic_impl(
const Index bs,
const Index boff,
const Index nidx,
const IT_* idx, DT_* buf,
const Index nvec,
const DT_* vval,
const IT_* vidx)
17 FEAT_PRAGMA_OMP(parallel
for)
18 for(
Index i = 0; i < nidx; ++i)
20 for(
Index k(0); k < bs; ++k)
21 buf[boff+i*bs+k] = DT_(0);
23 for(
Index j(0); j < nvec; ++j)
27 for(
Index k(0); k < bs; ++k)
28 buf[boff+i*bs+k] = vval[j*bs+k];
std::uint64_t Index
Index data type.