Skip to content

Commit

Permalink
automatically update header ordering with clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelKoch committed Jun 28, 2024
1 parent 7632513 commit c3485ea
Show file tree
Hide file tree
Showing 1,132 changed files with 495 additions and 3,259 deletions.
1 change: 0 additions & 1 deletion accessor/accessor_helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <type_traits>
#include <utility>


#include "index_span.hpp"
#include "utils.hpp"

Expand Down
1 change: 0 additions & 1 deletion accessor/block_col_major.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <array>
#include <cinttypes>


#include "accessor_helper.hpp"
#include "range.hpp"
#include "utils.hpp"
Expand Down
2 changes: 0 additions & 2 deletions accessor/cuda_helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@

#include <type_traits>


#include <thrust/complex.h>


#include "block_col_major.hpp"
#include "reduced_row_major.hpp"
#include "row_major.hpp"
Expand Down
2 changes: 0 additions & 2 deletions accessor/hip_helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@

#include <type_traits>


#include <thrust/complex.h>


#include "block_col_major.hpp"
#include "reduced_row_major.hpp"
#include "row_major.hpp"
Expand Down
1 change: 0 additions & 1 deletion accessor/math.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include <type_traits>


#include "utils.hpp"


Expand Down
1 change: 0 additions & 1 deletion accessor/range.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include <utility>


#include "utils.hpp"


Expand Down
1 change: 0 additions & 1 deletion accessor/reduced_row_major.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <type_traits>
#include <utility>


#include "accessor_helper.hpp"
#include "index_span.hpp"
#include "range.hpp"
Expand Down
1 change: 0 additions & 1 deletion accessor/reduced_row_major_reference.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <cmath>
#include <type_traits>


#include "math.hpp"
#include "reference_helper.hpp"
#include "utils.hpp"
Expand Down
1 change: 0 additions & 1 deletion accessor/reference_helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <type_traits>
#include <utility>


#include "utils.hpp"


Expand Down
1 change: 0 additions & 1 deletion accessor/row_major.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <array>
#include <cinttypes>


#include "accessor_helper.hpp"
#include "range.hpp"
#include "utils.hpp"
Expand Down
1 change: 0 additions & 1 deletion accessor/scaled_reduced_row_major.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <type_traits>
#include <utility>


#include "accessor_helper.hpp"
#include "index_span.hpp"
#include "range.hpp"
Expand Down
1 change: 0 additions & 1 deletion accessor/scaled_reduced_row_major_reference.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include <type_traits>


#include "math.hpp"
#include "reference_helper.hpp"
#include "utils.hpp"
Expand Down
4 changes: 1 addition & 3 deletions benchmark/blas/blas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
//
// SPDX-License-Identifier: BSD-3-Clause

#include <ginkgo/ginkgo.hpp>


#include <cstdlib>
#include <iomanip>
#include <iostream>

#include <ginkgo/ginkgo.hpp>

#include "benchmark/blas/blas_common.hpp"
#include "benchmark/utils/general.hpp"
Expand Down
4 changes: 1 addition & 3 deletions benchmark/blas/blas_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
//
// SPDX-License-Identifier: BSD-3-Clause

#include <ginkgo/ginkgo.hpp>


#include <algorithm>
#include <chrono>
#include <cstdlib>
Expand All @@ -13,6 +10,7 @@
#include <iostream>
#include <typeinfo>

#include <ginkgo/ginkgo.hpp>

#include "benchmark/utils/general.hpp"
#include "benchmark/utils/iteration_control.hpp"
Expand Down
5 changes: 2 additions & 3 deletions benchmark/blas/distributed/multi_vector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
//
// SPDX-License-Identifier: BSD-3-Clause

#include <ginkgo/ginkgo.hpp>


#include <cstdlib>
#include <iomanip>
#include <iostream>

#include <ginkgo/ginkgo.hpp>


#define GKO_BENCHMARK_DISTRIBUTED

Expand Down
4 changes: 1 addition & 3 deletions benchmark/conversion/conversion.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/ginkgo.hpp>


#include <algorithm>
#include <chrono>
#include <cstdlib>
Expand All @@ -14,6 +11,7 @@
#include <iostream>
#include <typeinfo>

#include <ginkgo/ginkgo.hpp>

#include "benchmark/utils/formats.hpp"
#include "benchmark/utils/general.hpp"
Expand Down
4 changes: 1 addition & 3 deletions benchmark/matrix_generator/matrix_generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@
//
// SPDX-License-Identifier: BSD-3-Clause

#include <ginkgo/ginkgo.hpp>


#include <cstdlib>
#include <exception>
#include <fstream>
#include <iostream>

#include <ginkgo/ginkgo.hpp>

#include "benchmark/utils/general.hpp"
#include "benchmark/utils/types.hpp"
Expand Down
5 changes: 1 addition & 4 deletions benchmark/matrix_statistics/matrix_statistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@
//
// SPDX-License-Identifier: BSD-3-Clause

#include <ginkgo/ginkgo.hpp>


#include <cmath>
#include <exception>
#include <iostream>

#include <ginkgo/ginkgo.hpp>

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


#include "benchmark/utils/general_matrix.hpp"
#include "benchmark/utils/generator.hpp"
#include "benchmark/utils/runner.hpp"
Expand Down
4 changes: 1 addition & 3 deletions benchmark/preconditioner/preconditioner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
//
// SPDX-License-Identifier: BSD-3-Clause

#include <ginkgo/ginkgo.hpp>


#include <algorithm>
#include <cstdlib>
#include <exception>
#include <iomanip>
#include <iostream>

#include <ginkgo/ginkgo.hpp>

#include "benchmark/utils/formats.hpp"
#include "benchmark/utils/general.hpp"
Expand Down
5 changes: 2 additions & 3 deletions benchmark/solver/distributed/solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
//
// SPDX-License-Identifier: BSD-3-Clause

#include <ginkgo/ginkgo.hpp>


#include <cstdlib>
#include <exception>
#include <iostream>
#include <set>

#include <ginkgo/ginkgo.hpp>


#define GKO_BENCHMARK_DISTRIBUTED

Expand Down
4 changes: 1 addition & 3 deletions benchmark/solver/solver.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/ginkgo.hpp>


#include <algorithm>
#include <chrono>
#include <cmath>
Expand All @@ -17,6 +14,7 @@
#include <sstream>
#include <vector>

#include <ginkgo/ginkgo.hpp>

#include "benchmark/solver/solver_common.hpp"
#include "benchmark/utils/general_matrix.hpp"
Expand Down
5 changes: 2 additions & 3 deletions benchmark/sparse_blas/operations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
//
// SPDX-License-Identifier: BSD-3-Clause

#include "benchmark/sparse_blas/operations.hpp"

#include <map>
#include <unordered_set>


#include <gflags/gflags.h>


#include "benchmark/sparse_blas/operations.hpp"
#include "core/base/array_access.hpp"
#include "core/factorization/elimination_forest.hpp"
#include "core/factorization/symbolic.hpp"
Expand Down
4 changes: 1 addition & 3 deletions benchmark/sparse_blas/operations.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
//
// SPDX-License-Identifier: BSD-3-Clause

#include <ginkgo/ginkgo.hpp>


#include <tuple>

#include <ginkgo/ginkgo.hpp>

#include "benchmark/utils/json.hpp"
#include "benchmark/utils/types.hpp"
Expand Down
4 changes: 1 addition & 3 deletions benchmark/sparse_blas/sparse_blas.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/ginkgo.hpp>


#include <algorithm>
#include <exception>
#include <functional>
Expand All @@ -15,6 +12,7 @@
#include <random>
#include <typeinfo>

#include <ginkgo/ginkgo.hpp>

#include "benchmark/sparse_blas/operations.hpp"
#include "benchmark/utils/general_matrix.hpp"
Expand Down
5 changes: 2 additions & 3 deletions benchmark/spmv/distributed/spmv.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/ginkgo.hpp>


#include <algorithm>
#include <chrono>
#include <cstdlib>
Expand All @@ -14,6 +11,8 @@
#include <iostream>
#include <typeinfo>

#include <ginkgo/ginkgo.hpp>


#define GKO_BENCHMARK_DISTRIBUTED

Expand Down
4 changes: 1 addition & 3 deletions benchmark/spmv/spmv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
//
// SPDX-License-Identifier: BSD-3-Clause

#include <ginkgo/ginkgo.hpp>


#include <cstdlib>
#include <iostream>

#include <ginkgo/ginkgo.hpp>

#include "benchmark/spmv/spmv_common.hpp"
#include "benchmark/utils/formats.hpp"
Expand Down
2 changes: 0 additions & 2 deletions benchmark/tools/matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
#include <iostream>
#include <vector>


#include <ginkgo/core/base/math.hpp>
#include <ginkgo/core/base/mtx_io.hpp>


#include "core/utils/matrix_utils.hpp"


Expand Down
1 change: 0 additions & 1 deletion benchmark/tools/mtx_to_binary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include <ios>
#include <limits>


#include <ginkgo/core/base/exception_helpers.hpp>
#include <ginkgo/core/base/mtx_io.hpp>

Expand Down
5 changes: 1 addition & 4 deletions benchmark/utils/cuda_linops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@
//
// SPDX-License-Identifier: BSD-3-Clause

#include <ginkgo/ginkgo.hpp>


#include <memory>


#include <cuda.h>
#include <cuda_runtime.h>
#include <cusparse.h>

#include <ginkgo/ginkgo.hpp>

#include "benchmark/utils/sparselib_linops.hpp"
#include "benchmark/utils/types.hpp"
Expand Down
1 change: 0 additions & 1 deletion benchmark/utils/cuda_timer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include <cuda.h>
#include <cuda_runtime.h>


#include "benchmark/utils/timer_impl.hpp"


Expand Down
5 changes: 1 addition & 4 deletions benchmark/utils/dpcpp_linops.dp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@
//
// SPDX-License-Identifier: BSD-3-Clause

#include <ginkgo/ginkgo.hpp>


#include <memory>


#include <oneapi/mkl.hpp>

#include <ginkgo/ginkgo.hpp>

#include "benchmark/utils/sparselib_linops.hpp"
#include "benchmark/utils/types.hpp"
Expand Down
Loading

0 comments on commit c3485ea

Please sign in to comment.