Skip to content

Commit

Permalink
Make compiler happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ndellingwood committed Feb 13, 2024
1 parent 16ad08d commit 76b1503
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/src/Kokkos_CopyViews.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1363,9 +1363,7 @@ contiguous_fill_or_memset(
// resulting in compilation errors; explicitly passing the template
// parameters to ZeroMemset helps workaround the issue
// See https://github.com/kokkos/kokkos/issues/6775
using ViewType = View<DT, DP...>;
using exec_space_type = ExecutionSpace;
ZeroMemset<exec_space_type, ViewType>(exec_space, dst);
ZeroMemset<ExecutionSpace, View<DT, DP...>>(exec_space, dst);
else
contiguous_fill(exec_space, dst, value);
}
Expand Down

0 comments on commit 76b1503

Please sign in to comment.