Skip to content

Commit 1db9a5a

Browse files
committed
better comment
1 parent 61874d7 commit 1db9a5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/eamxx/src/share/field/field_impl.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@ get_strided_view_type<DT, HD> {
224224

225225
template<typename ST, HostOrDevice From, HostOrDevice To>
226226
void Field::sync_views_impl () const {
227-
// All deep_copy call we want to be async for host.
227+
// For all Kokkos::deep_copy() calls we will pass in an instance of the
228+
// device execution space so that we are asynchronous w.r.t. host.
228229
using DeviceExecSpace = typename Field::get_device<Device>::execution_space;
229230

230231
// Rank 0 will always be contiguous. Copy and return early.

0 commit comments

Comments
 (0)