Skip to content

Commit

Permalink
Use Kokkos helpers from Ginkgo 1.8.0 (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpadioleau authored Jul 28, 2024
1 parent 5d8e96b commit 434fa0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 73 deletions.
71 changes: 0 additions & 71 deletions include/ddc/kernels/splines/ginkgo_executors.hpp

This file was deleted.

4 changes: 2 additions & 2 deletions include/ddc/kernels/splines/splines_linear_problem_sparse.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
#include <type_traits>
#include <utility>

#include <ginkgo/extensions/kokkos.hpp>
#include <ginkgo/ginkgo.hpp>

#include <Kokkos_Core.hpp>

#include "ginkgo_executors.hpp"
#include "splines_linear_problem.hpp"

namespace ddc::detail {
Expand Down Expand Up @@ -170,7 +170,7 @@ class SplinesLinearProblemSparse : public SplinesLinearProblem<ExecSpace>
, m_preconditioner_max_block_size(preconditioner_max_block_size.value_or(
default_preconditioner_max_block_size<ExecSpace>()))
{
std::shared_ptr const gko_exec = create_gko_exec<ExecSpace>();
std::shared_ptr const gko_exec = gko::ext::kokkos::create_executor(ExecSpace());
m_matrix_dense = gko::matrix::Dense<
double>::create(gko_exec->get_master(), gko::dim<2>(mat_size, mat_size));
m_matrix_dense->fill(0);
Expand Down

0 comments on commit 434fa0d

Please sign in to comment.