Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Dec 28, 2022
1 parent 8aaba5b commit d8ac4cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions include/deal.II/lac/la_parallel_vector.templates.h
Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,8 @@ namespace LinearAlgebra
// Move the data to the device
Kokkos::View<Number *, Kokkos::HostSpace> V_view(V.begin(),
n_elements);
Kokkos::View<Number *,
::dealii::MemorySpace::Default::kokkos_space> auto
V_dev = Kokkos::create_mirror_view_and_copy(
::dealii::MemorySpace::Default::kokkos_space{}, V_view);
auto V_dev = Kokkos::create_mirror_view_and_copy(
::dealii::MemorySpace::Default::kokkos_space{}, V_view);

// Set the values in tmp_vector
Kokkos::parallel_for(
Expand Down
2 changes: 1 addition & 1 deletion include/deal.II/lac/vector_operations_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -2634,7 +2634,7 @@ namespace internal
import_elements(
const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
& /*thread_loop_partitioner*/,
const size_type,
const size_type size,
VectorOperation::values operation,
const ::dealii::MemorySpace::MemorySpaceData<Number, MemorySpace2>
&v_data,
Expand Down

0 comments on commit d8ac4cd

Please sign in to comment.