Skip to content

Commit

Permalink
Fix bogus icpc -Werror
Browse files Browse the repository at this point in the history
Workaround error kokkos#1011: missing return statement at end of non-void function
  • Loading branch information
ndellingwood committed Aug 27, 2024
1 parent 03abc0a commit 2046f41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions containers/src/Kokkos_DualView.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,9 @@ class DualView : public ViewTraits<DataType, Properties...> {
}
}
}
#ifdef KOKKOS_COMPILER_INTEL
__builtin_unreachable();
#endif
}

KOKKOS_INLINE_FUNCTION
Expand Down

0 comments on commit 2046f41

Please sign in to comment.