KOKKOS_INLINE_FUNCTION void operator()(size_type i, value_type & num_errors) const { uint32_t index = global_2_local.find( local_2_global[i] ); if ( !global_2_local.valid_at(index) || global_2_local.key_at(index) != local_2_global[i] || global_2_local.value_at(index) != i) ++num_errors; }