Skip to content

Commit

Permalink
Attempted fix for various compiler issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nliber committed Aug 16, 2024
1 parent d94ab65 commit ff4e1d8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions core/unit_test/TestComplex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -764,8 +764,7 @@ struct TestComplexArg {
};

h_source = source_host_view_type(&source);
d_source = Kokkos::create_mirror_view(h_source);
Kokkos::deep_copy(d_source, h_source);
d_source = Kokkos::create_mirror_view_and_copy(execution_space{}, h_source);

d_results = results_device_view_type("arg");
h_results = Kokkos::create_mirror_view(d_results);
Expand Down Expand Up @@ -905,8 +904,7 @@ struct TestComplexNorm {
};

h_source = source_host_view_type(&source);
d_source = Kokkos::create_mirror_view(h_source);
Kokkos::deep_copy(d_source, h_source);
d_source = Kokkos::create_mirror_view_and_copy(execution_space{}, h_source);

d_results = results_device_view_type("norm");
h_results = Kokkos::create_mirror_view(d_results);
Expand Down Expand Up @@ -1045,8 +1043,7 @@ struct TestComplexProj {
};

h_source = source_host_view_type(&source);
d_source = Kokkos::create_mirror_view(h_source);
Kokkos::deep_copy(d_source, h_source);
d_source = Kokkos::create_mirror_view_and_copy(execution_space{}, h_source);

d_results = results_device_view_type("proj");
h_results = Kokkos::create_mirror_view(d_results);
Expand Down

0 comments on commit ff4e1d8

Please sign in to comment.