Skip to content

Commit

Permalink
Grouping works on the device (#100).
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophie Blondel committed Nov 10, 2022
1 parent 01b89b0 commit af605ce
Show file tree
Hide file tree
Showing 3 changed files with 203 additions and 264 deletions.
9 changes: 5 additions & 4 deletions test/system/include/xolotl/test/KokkosFixture.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ class KokkosFixture
public:
KokkosFixture() :
_guard((!Kokkos::is_initialized() && !Kokkos::is_finalized()) ?
std::make_unique<Kokkos::ScopeGuard>(
boost::unit_test::framework::master_test_suite().argc,
boost::unit_test::framework::master_test_suite().argv) : nullptr)
std::make_unique<Kokkos::ScopeGuard>(
boost::unit_test::framework::master_test_suite().argc,
boost::unit_test::framework::master_test_suite().argv) :
nullptr)
{
}

private:
std::unique_ptr<Kokkos::ScopeGuard> _guard;
std::unique_ptr<Kokkos::ScopeGuard> _guard;
};
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ClusterConnectivity :
IndexType
operator()(IndexType rowId, IndexType columnId) const
{
return getPosition(rowId, columnId, *this);
return getPosition(rowId, columnId, *this);
}

std::uint64_t
Expand Down
Loading

0 comments on commit af605ce

Please sign in to comment.