Skip to content

Commit

Permalink
format files
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikvn committed Jul 1, 2024
1 parent 65ee366 commit c6939ee
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 30 deletions.
2 changes: 0 additions & 2 deletions common/unified/multigrid/uniform_coarsening_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@

#include "core/multigrid/uniform_coarsening_kernels.hpp"


#include <ginkgo/core/base/math.hpp>
#include <ginkgo/core/multigrid/uniform_coarsening.hpp>


#include "common/unified/base/kernel_launch.hpp"
#include "common/unified/base/kernel_launch_reduction.hpp"
#include "core/components/prefix_sum_kernels.hpp"
Expand Down
5 changes: 1 addition & 4 deletions core/multigrid/uniform_coarsening.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
//
// SPDX-License-Identifier: BSD-3-Clause

#include <ginkgo/core/multigrid/uniform_coarsening.hpp>


#include <ginkgo/core/base/array.hpp>
#include <ginkgo/core/base/exception_helpers.hpp>
#include <ginkgo/core/base/executor.hpp>
Expand All @@ -16,7 +13,7 @@
#include <ginkgo/core/matrix/identity.hpp>
#include <ginkgo/core/matrix/row_gatherer.hpp>
#include <ginkgo/core/matrix/sparsity_csr.hpp>

#include <ginkgo/core/multigrid/uniform_coarsening.hpp>

#include "core/base/utils.hpp"
#include "core/components/fill_array_kernels.hpp"
Expand Down
6 changes: 1 addition & 5 deletions core/multigrid/uniform_coarsening_kernels.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,12 @@
#define GKO_CORE_MULTIGRID_UNIFORM_COARSENING_KERNELS_HPP_


#include <ginkgo/core/multigrid/uniform_coarsening.hpp>


#include <memory>


#include <ginkgo/core/base/array.hpp>
#include <ginkgo/core/base/executor.hpp>
#include <ginkgo/core/matrix/csr.hpp>

#include <ginkgo/core/multigrid/uniform_coarsening.hpp>

#include "core/base/kernel_declaration.hpp"

Expand Down
7 changes: 1 addition & 6 deletions core/test/multigrid/uniform_coarsening.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,12 @@
//
// SPDX-License-Identifier: BSD-3-Clause

#include <ginkgo/core/multigrid/uniform_coarsening.hpp>


#include <memory>


#include <gtest/gtest.h>


#include <ginkgo/core/base/executor.hpp>

#include <ginkgo/core/multigrid/uniform_coarsening.hpp>

#include "core/test/utils.hpp"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
#include <ginkgo/ginkgo.hpp>


#include <ginkgo/ginkgo.hpp>


int main(int argc, char* argv[])
{
// Some shortcuts
Expand Down
1 change: 0 additions & 1 deletion include/ginkgo/core/multigrid/uniform_coarsening.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include <vector>


#include <ginkgo/core/base/composition.hpp>
#include <ginkgo/core/base/exception_helpers.hpp>
#include <ginkgo/core/base/lin_op.hpp>
Expand Down
3 changes: 0 additions & 3 deletions reference/multigrid/uniform_coarsening_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,16 @@

#include "core/multigrid/uniform_coarsening_kernels.hpp"


#include <memory>
#include <tuple>


#include <ginkgo/core/base/array.hpp>
#include <ginkgo/core/base/exception_helpers.hpp>
#include <ginkgo/core/base/math.hpp>
#include <ginkgo/core/base/types.hpp>
#include <ginkgo/core/matrix/sparsity_csr.hpp>
#include <ginkgo/core/multigrid/uniform_coarsening.hpp>


#include "core/base/allocator.hpp"
#include "core/components/prefix_sum_kernels.hpp"
#include "core/matrix/csr_builder.hpp"
Expand Down
8 changes: 2 additions & 6 deletions reference/test/multigrid/uniform_coarsening_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@
//
// SPDX-License-Identifier: BSD-3-Clause

#include <ginkgo/core/multigrid/uniform_coarsening.hpp>

#include "core/multigrid/uniform_coarsening_kernels.hpp"

#include <memory>


#include <gtest/gtest.h>


#include <ginkgo/core/base/exception.hpp>
#include <ginkgo/core/base/executor.hpp>
#include <ginkgo/core/base/math.hpp>
Expand All @@ -19,13 +16,12 @@
#include <ginkgo/core/matrix/diagonal.hpp>
#include <ginkgo/core/matrix/row_gatherer.hpp>
#include <ginkgo/core/matrix/sparsity_csr.hpp>
#include <ginkgo/core/multigrid/uniform_coarsening.hpp>
#include <ginkgo/core/stop/combined.hpp>
#include <ginkgo/core/stop/iteration.hpp>
#include <ginkgo/core/stop/residual_norm.hpp>
#include <ginkgo/core/stop/time.hpp>


#include "core/multigrid/uniform_coarsening_kernels.hpp"
#include "core/test/utils.hpp"


Expand Down

0 comments on commit c6939ee

Please sign in to comment.