Skip to content

Commit

Permalink
More clang formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
jennloe committed Apr 1, 2022
1 parent 925e82c commit fbb97e1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
3 changes: 1 addition & 2 deletions src/batched/ode/tftk_DeviceODESolverState.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ template <int NDOFS, int NSTAGES>
struct RkStack {
using type = StackAllocationTag;

using V1 =
Kokkos::View<double[NDOFS], AnonSpace, Kokkos::MemoryUnmanaged>;
using V1 = Kokkos::View<double[NDOFS], AnonSpace, Kokkos::MemoryUnmanaged>;
using V2 = Kokkos::View<double[NSTAGES][NDOFS], Kokkos::LayoutRight,
AnonSpace, Kokkos::MemoryUnmanaged>;
using Arr1 = Kokkos::Array<double, NDOFS>;
Expand Down
2 changes: 1 addition & 1 deletion src/batched/ode/tftk_DeviceODESolverStatus.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ enum class ODESolverStatus {
NONFINITE_STATE
};

//std::ostream& operator<<(std::ostream& os, ODESolverStatus status);
// std::ostream& operator<<(std::ostream& os, ODESolverStatus status);
} // namespace ode
} // namespace KokkosBatched
#endif
8 changes: 4 additions & 4 deletions unit_test/batched/ode/Test_Batched_ODE_Performance.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <tftk_TestODEs.h>
#include <tftk_ODEArgs.h>

namespace KokkosBatched{
namespace ode{
namespace KokkosBatched {
namespace ode {

template <typename MemorySpace, typename ODEType, typename SolverType>
void scratch_kernel(const ODEType &ode, const SolverType &solver,
Expand Down Expand Up @@ -240,7 +240,7 @@ TEST_F(TestCategory, ODE_RKPerformance) {
<< dt_host_scratch / dt_host_stack << "\n";
}

} //namespace ode
} //namespace KokkosBatched
} // namespace ode
} // namespace KokkosBatched

#endif
8 changes: 4 additions & 4 deletions unit_test/batched/ode/Test_Batched_ODE_Solve.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <tftk_TestODEs.h>
#include <tftk_ODEArgs.h>

namespace KokkosBatched{
namespace ode{
namespace KokkosBatched {
namespace ode {

template <typename SolverState, typename MemorySpace, typename ODEType,
typename SolverType>
Expand Down Expand Up @@ -435,7 +435,7 @@ TEST_F(TestCategory, ODE_RKSingleStep) {
check_single_step(dt, s.table, state, ke);
}

} //namespace ode
} //namespace KokkosBatched
} // namespace ode
} // namespace KokkosBatched

#endif

0 comments on commit fbb97e1

Please sign in to comment.