Skip to content

Commit

Permalink
Merge pull request #1151 from lucbv/spmv_fix_layout
Browse files Browse the repository at this point in the history
SpMV: mismatch in #ifdef check and kernel specialization
  • Loading branch information
lucbv authored Nov 1, 2021
2 parents 2fb2aa5 + 347b932 commit df04b2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sparse/KokkosSparse_spmv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ struct SPMV2D1D<AlphaType, AMatrix, XVector, BetaType, YVector,
#endif
};

#if defined(KOKKOSKERNELS_INST_LAYOUTLEFT) || !defined(KOKKOSKERNELS_ETI_ONLY)
#if defined(KOKKOSKERNELS_INST_LAYOUTRIGHT) || !defined(KOKKOSKERNELS_ETI_ONLY)
template <class AlphaType, class AMatrix, class XVector, class BetaType,
class YVector>
struct SPMV2D1D<AlphaType, AMatrix, XVector, BetaType, YVector,
Expand Down Expand Up @@ -605,7 +605,7 @@ struct SPMV2D1D_STRUCT<AlphaType, AMatrix, XVector, BetaType, YVector,
#endif
};

#if defined(KOKKOSKERNELS_INST_LAYOUTLEFT) || !defined(KOKKOSKERNELS_ETI_ONLY)
#if defined(KOKKOSKERNELS_INST_LAYOUTRIGHT) || !defined(KOKKOSKERNELS_ETI_ONLY)
template <class AlphaType, class AMatrix, class XVector, class BetaType,
class YVector>
struct SPMV2D1D_STRUCT<AlphaType, AMatrix, XVector, BetaType, YVector,
Expand Down

0 comments on commit df04b2a

Please sign in to comment.