Tpetra parallel linear algebra
Version of the Day
|
Parallel scan functor for computing "row" offsets. More...
#include <Tpetra_Details_FixedHashTable_def.hpp>
Public Member Functions | |
ComputeRowOffsets (const offsets_view_type &offsets, const counts_view_type &counts) | |
Constructor. More... | |
KOKKOS_INLINE_FUNCTION void | init (value_type &dst) const |
Set the initial value of the reduction result. More... | |
Parallel scan functor for computing "row" offsets.
Kokkos::parallel_scan functor for computing the row offsets array from the array of counts (which the above functor CountBuckets computes).
OffsetsViewType | Type of the Kokkos::View specialization used to store the "row" offsets; the output of this functor. |
SizeType | The parallel loop index type; a built-in integer type. Defaults to the type of the input View's dimension. You may use a shorter type to improve performance. |
Definition at line 266 of file Tpetra_Details_FixedHashTable_def.hpp.
|
inline |
Constructor.
offsets | [out] (Preallocated) offsets; one entry longer than counts |
counts | [in] View of bucket counts |
Definition at line 280 of file Tpetra_Details_FixedHashTable_def.hpp.
|
inline |
Set the initial value of the reduction result.
Definition at line 288 of file Tpetra_Details_FixedHashTable_def.hpp.