Skip to content

Commit

Permalink
Add missing kokkos-inline-funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
jgfouca committed Aug 3, 2024
1 parent 48af930 commit e01f9af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sparse/impl/KokkosSparse_sptrsv_solve_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ struct SptrsvWrap {
struct ReduceFunctorBasic {
const Base *m_obj;

KOKKOS_INLINE_FUNCTION
ReduceFunctorBasic(const Base *obj, const lno_t = 0) : m_obj(obj) {}

KOKKOS_INLINE_FUNCTION
Expand All @@ -360,6 +361,7 @@ struct SptrsvWrap {
const size_type block_size;
const size_type b;

KOKKOS_INLINE_FUNCTION
ReduceFunctorBlock(const Base *obj, const size_type block_size_, const size_type b_, const lno_t = 0)
: P(obj), block_size(block_size_), b(b_) {}

Expand Down

0 comments on commit e01f9af

Please sign in to comment.