Skip to content

Commit

Permalink
Merge branch 'sync_ddc' into 'main'
Browse files Browse the repository at this point in the history
Sync ddc

See merge request gysela-developpers/gyselalibxx!689
  • Loading branch information
tpadioleau committed Sep 20, 2024
1 parent d8393b0 commit 994aa0b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/pde_solvers/fem_1d_poisson_solver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ class FEM1DPoissonSolver
= bspline_full_idx_range.take_first(IdxStep<FEMBSplines>(nbasis));

host_t<FEMBSplinesCoeffMem> int_vals(idx_range_bspline);
ddc::discrete_space<InputBSplines>().integrals(get_field(int_vals));
ddc::integrals(Kokkos::DefaultHostExecutionSpace(), get_field(int_vals));

for (IdxFEMBSplines const ix : idx_range_bspline) {
int const i = (ix - first_bspline_idx).value();
Expand Down
2 changes: 1 addition & 1 deletion vendor/ddc
Submodule ddc updated 114 files
4 changes: 2 additions & 2 deletions vendor/sll/include/sll/polar_bsplines.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -688,8 +688,8 @@ void PolarBSplines<BSplinesR, BSplinesTheta, C>::Impl<DDim, MemorySpace>::integr
ddc::ChunkSpan r_integrals = r_integrals_alloc.span_view();
ddc::ChunkSpan theta_integrals = theta_integrals_alloc.span_view();

r_bspl_space.integrals(r_integrals);
theta_bspl_space.integrals(theta_integrals);
ddc::integrals(Kokkos::DefaultHostExecutionSpace(), r_integrals);
ddc::integrals(Kokkos::DefaultHostExecutionSpace(), theta_integrals);

ddc::for_each(singular_idx_range<DDim>(), [&](auto k) {
int_vals.singular_spline_coef(k) = ddc::transform_reduce(
Expand Down

0 comments on commit 994aa0b

Please sign in to comment.