Skip to content

Commit

Permalink
Use std::is_same_v
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Sep 27, 2023
1 parent 7d817b8 commit bbfe639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/SYCL/Kokkos_SYCL_Team.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ KOKKOS_INLINE_FUNCTION void parallel_scan(
using closure_value_type = typename Kokkos::Impl::FunctorAnalysis<
Kokkos::Impl::FunctorPatternInterface::SCAN, void, FunctorType,
void>::value_type;
static_assert(std::is_same<closure_value_type, ValueType>::value,
static_assert(std::is_same_v<closure_value_type, ValueType>,
"Non-matching value types of closure and return type");

const auto start = loop_bounds.start;
Expand Down

0 comments on commit bbfe639

Please sign in to comment.