Skip to content

Commit

Permalink
fix: reintroduce RealType in impl_test_batched_iamax
Browse files Browse the repository at this point in the history
Signed-off-by: Yuuichi Asahi <[email protected]>
  • Loading branch information
Yuuichi Asahi committed Oct 27, 2024
1 parent b0bac8e commit c0ccdb9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions batched/dense/unit_test/Test_Batched_SerialIamax.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ void impl_test_batched_iamax_analytical(const std::size_t N) {
/// \param BlkSize [in] Block size of matrix A
template <typename DeviceType, typename ScalarType, typename LayoutType>
void impl_test_batched_iamax(const std::size_t N, const std::size_t BlkSize) {
using ats = typename Kokkos::ArithTraits<ScalarType>;
using RealType = typename ats::mag_type;
using View2DType = Kokkos::View<ScalarType **, LayoutType, DeviceType>;
using StridedView2DType = Kokkos::View<ScalarType **, Kokkos::LayoutStride, DeviceType>;
using MaxView1DType = Kokkos::View<int *, LayoutType, DeviceType>;
Expand Down

0 comments on commit c0ccdb9

Please sign in to comment.