Skip to content

Commit

Permalink
Fix copy_to when targeting GPUs
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed May 17, 2024
1 parent 9193862 commit 7b88824
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/HeatSources.hh
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@ HeatSources<dim, MemorySpaceType>::copy_to(
++i)
target_electron_beam_scan_path_segments[i] =
Kokkos::create_mirror_view_and_copy(
Kokkos::HostSpace{}, _electron_beam_scan_path_segments[i]);
typename TargetMemorySpaceType::kokkos_space{},
_electron_beam_scan_path_segments[i]);
auto target_copy_electron_beam_heat_sources =
Kokkos::create_mirror_view_and_copy(Kokkos::HostSpace{},
_electron_beam_heat_sources);
Expand Down

0 comments on commit 7b88824

Please sign in to comment.