Skip to content

Commit

Permalink
ODE: BDF small change to temporarily avoid compile time issue
Browse files Browse the repository at this point in the history
True fix involving a KOKKOS_VERSION check is upcoming after more
tests on GPU side...
  • Loading branch information
lucbv committed Nov 14, 2023
1 parent e68c477 commit 23aa565
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ode/src/KokkosODE_BDF.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ KOKKOS_FUNCTION void BDFSolve(const ode_type& ode, const scalar_type t_start, co
mat_type& temp, mat_type& temp2) {
using KAT = Kokkos::ArithTraits<scalar_type>;

Kokkos::printf("y0 = {%f, %f, %f}\n", y0(0), y0(1), y0(2));
// Kokkos::printf("y0 = {%f, %f, %f}\n", y0(0), y0(1), y0(2));
printf("y0 = {%f, %f, %f}\n", y0(0), y0(1), y0(2));

// This needs to go away and be pulled out of temp instead...
auto rhs = Kokkos::subview(temp, Kokkos::ALL(), 0);
Expand Down

0 comments on commit 23aa565

Please sign in to comment.