message: Fix tests by making device-to-host copies explicit
diff: @@ -139,7 +139,8 @@ void check_fill(Array<T, DIM, SPACE>& v)
  EXPECT_EQ(data_ptr, v.data());
  // To check entries, we copy data to a dynamic array
  - Array<T, DIM> v_host = v;
  + int host_alloc_id = axom::detail::getAllocatorID<axom::MemorySpace::Host>();
  + Array<T, DIM> v_host(v, host_alloc_id);
  /* Check that the entries are all MAGIC_NUM_0. */
  for(IndexType i = 0; i < size; ++i)
  @@ -156,7 +157,7 @@ void check_fill(Array<T, DIM, SPACE>& v)
  EXPECT_EQ(ratio, v.getResizeRatio());
  EXPECT_EQ(data_ptr, v.data());
  - v_host = v;
  + v_host = Array<T, DIM>(v, host_alloc_id);
  /* Check that the entries are all MAGIC_NUM_1. */
  for(IndexType i = 0; i < size; ++i)
  @@ -839,8 +840,9 @@ void check_device_2D(Array<T, 2, SPACE>& v)
  assign_raw_2d<<<1, 1>>>(v.data(), M, N);
  // Check the contents of the array by assigning to a Dynamic array
  - // The default Umpire allocator should be Host, so we can access it from the CPU
  - Array<T, 2> check_raw_array_dynamic = v;
  + // The Umpire allocator should be Host, so we can access it from the CPU
  + int host_alloc_id = axom::detail::getAllocatorID<axom::MemorySpace::Host>();
  + Array<T, 2> check_raw_array_dynamic(v, host_alloc_id);
  EXPECT_EQ(check_raw_array_dynamic.size(), size);
  EXPECT_EQ(check_raw_array_dynamic.shape(), v.shape());
  @@ -870,8 +872,8 @@ void check_device_2D(Array<T, 2, SPACE>& v)
  assign_view_2d<<<1, 1>>>(view);
  // Check the contents of the array by assigning to a Dynamic array
  - // The default Umpire allocator should be Host, so we can access it from the CPU
  - Array<T, 2> check_view_array_dynamic = view;
  + // The Umpire allocator should be Host, so we can access it from the CPU
  + Array<T, 2> check_view_array_dynamic(view, host_alloc_id);
  EXPECT_EQ(check_view_array_dynamic.size(), size);
  EXPECT_EQ(check_view_array_dynamic.shape(), v.shape());
  