Skip to content

Commit

Permalink
run fixing end of file for all files
Browse files Browse the repository at this point in the history
  • Loading branch information
yhmtsai committed Jan 7, 2025
1 parent b0bafe9 commit f132fb1
Show file tree
Hide file tree
Showing 60 changed files with 18 additions and 63 deletions.
1 change: 0 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,3 @@ Standard: c++14
TabWidth: 8
UseTab: Never
...

1 change: 0 additions & 1 deletion .github/workflows/spell_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ jobs:
uses: crate-ci/typos@master
with:
config: .github/_typos.toml

1 change: 0 additions & 1 deletion CPackConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ set(CPACK_INSTALL_CMAKE_PROJECTS
"Debug;Ginkgo;All;/"
"Release;Ginkgo;All;/"
)

2 changes: 1 addition & 1 deletion benchmark/test/input.blas.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
{
"n": 100
}
]
]
2 changes: 1 addition & 1 deletion benchmark/test/input.distributed_mtx.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"stencil": "7pt",
"comm_pattern": "stencil"
}
]
]
2 changes: 1 addition & 1 deletion benchmark/test/input.distributed_solver.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
"spmv": "csr-csr"
}
}
]
]
2 changes: 1 addition & 1 deletion benchmark/test/input.mtx.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"size": 100,
"stencil": "7pt"
}
]
]
2 changes: 1 addition & 1 deletion benchmark/test/input.solver.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
"spmv": "csr"
}
}
]
]
2 changes: 1 addition & 1 deletion benchmark/tools/compare_test_input1.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@
"spmv": "coo"
}
}
]
]
2 changes: 1 addition & 1 deletion benchmark/tools/compare_test_input2.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@
"spmv": "coo"
}
}
]
]
2 changes: 1 addition & 1 deletion benchmark/tools/compare_test_input3.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
}
}
}
]
]
1 change: 0 additions & 1 deletion cmake/hip_helpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@ function(ginkgo_check_hip_detection_issue)
endif ()
endif ()
endfunction()

1 change: 0 additions & 1 deletion dev_tools/oneapi/working_directory/.clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,3 @@ Standard: Cpp11
TabWidth: 8
UseTab: Never
...

4 changes: 0 additions & 4 deletions doc/joss/paper.bib
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,3 @@ @misc{eigen
howpublished = {http://eigen.tuxfamily.org},
year = {2010}
}




1 change: 0 additions & 1 deletion doc/pages/BASE_DOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ The Ginkgo library can be grouped into [modules](modules.html) and these modules
* @ref mat_formats : Perform a sparse matrix vector multiplication with a particular matrix format.
* @ref log : Monitor your code execution.
* @ref stop : Manage your iteration stopping criteria.

1 change: 0 additions & 1 deletion doc/pages/USR_DOC.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
This is the main page for the Ginkgo library user documentation. The repository is hosted on [github](https://github.com/ginkgo-project/ginkgo). Documentation on aspects such as the build system, can be found at the @ref install_ginkgo page. The @ref Examples can help you get started with using Ginkgo.

1 change: 0 additions & 1 deletion doc/scripts/program2html
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,3 @@ do {
if ($state == $program_mode) {
print "</code></pre>\n";
}

1 change: 0 additions & 1 deletion doc/scripts/program2plain
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@ while (<>) {
# Otherwise print the line
print;
}

1 change: 0 additions & 1 deletion doc/scripts/validate-xrefs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,3 @@
}
}
}
1 change: 0 additions & 1 deletion examples/adaptiveprecision-blockjacobi/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ right-hand side and an initial guess. The preconditioned CG solver is enhanced
with a block-Jacobi preconditioner that optimizes the storage format for the
distinct inverted diagonal blocks to the numerical requirements. The example
features the iteration count and runtime of the CG solver.</h3>

1 change: 0 additions & 1 deletion examples/cb-gmres/doc/builds-on
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

2 changes: 1 addition & 1 deletion examples/custom-logger/doc/tooltip
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Creating a custom logger with Ginkgo.
Creating a custom logger with Ginkgo.
1 change: 0 additions & 1 deletion examples/custom-matrix-format/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ The intention of this example is to show how a custom linear operator can be
created and integrated into Ginkgo to achieve performance benefits.

<h3> About the example </h3>

1 change: 0 additions & 1 deletion examples/custom-stopping-criterion/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
<h1>Introduction</h1>

<h3> About the example </h3>

2 changes: 1 addition & 1 deletion examples/custom-stopping-criterion/doc/kind
Original file line number Diff line number Diff line change
@@ -1 +1 @@
stopping-criteria
stopping-criteria
1 change: 0 additions & 1 deletion examples/external-lib-interfacing/doc/builds-on
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

1 change: 0 additions & 1 deletion examples/external-lib-interfacing/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
<h1>Introduction</h1>

<h3> About the example </h3>

1 change: 0 additions & 1 deletion examples/file-config-solver/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
<h1>This example shows how to use file to configure solver.</h1>

<h3>In this example, we first read in a matrix from a file. Then we read the config file to configure the solver. The example application reports the generation and run time of the solver.</h3>

1 change: 0 additions & 1 deletion examples/ginkgo-overhead/doc/builds-on
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

1 change: 0 additions & 1 deletion examples/ginkgo-overhead/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
<h1>Introduction</h1>

<h3> About the example </h3>

1 change: 0 additions & 1 deletion examples/ginkgo-ranges/doc/builds-on
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

1 change: 0 additions & 1 deletion examples/ginkgo-ranges/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
<h1>Introduction</h1>

<h3> About the example </h3>

2 changes: 1 addition & 1 deletion examples/heat-equation/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ The intention of this example is to provide a mini-app showing matrix assembly,
vector initialization, solver setup and the use of Ginkgo in a more complex
setting.

<h3> About the example </h3>
<h3> About the example </h3>
1 change: 0 additions & 1 deletion examples/inverse-iteration/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ for i = 0 .. max_iterations:
@endcode

<h3> About the example </h3>

1 change: 0 additions & 1 deletion examples/kokkos-assembly/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ This example show how to use Ginkgo data with Kokkos kernels.
If this example is built as part of Ginkgo, it is advised to configure Ginkgo with
`-DGINKGO_WITH_CCACHE=OFF` to prevent incompabilities with Kokkos' compiler wrapper
for `nvcc`.

1 change: 0 additions & 1 deletion examples/minimal-cuda-solver/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ and pipe the result to the minimal_solver_cuda executable:
@code{.cpp}cat data/A.mtx data/b.mtx data/x0.mtx | ./minimal-cuda-solver@endcode

<h3> About the example </h3>

Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@

<h3> In this example, we first read in a matrix from a file. The preconditioned CG solver is enhanced
with a mixed-precision multigrid preconditioner. The example features the generating time and runtime of the CG solver.</h3>

1 change: 0 additions & 1 deletion examples/mixed-multigrid-solver/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
<h3> In this example, we first read in a matrix from a file, then generate a
right-hand side and an initial guess. The multigrid solver can mix different precision of MultigridLevel. The example
features the generating time and runtime of the multigrid solver.</h3>

1 change: 0 additions & 1 deletion examples/mixed-spmv/doc/builds-on
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
<h3> In this example, we first read in a matrix from a file. The preconditioned CG solver is enhanced
with a multigrid preconditioner. Several non-default options are used to create this preconditioner.
The example features the generating time and runtime of the CG solver.</h3>

1 change: 0 additions & 1 deletion examples/multigrid-preconditioned-solver/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@

<h3> In this example, we first read in a matrix from a file. The preconditioned CG solver is enhanced
with a multigrid preconditioner. The example features the generating time and runtime of the CG solver.</h3>

2 changes: 1 addition & 1 deletion examples/nine-pt-stencil-solver/doc/builds-on
Original file line number Diff line number Diff line change
@@ -1 +1 @@
simple-solver three-pt-stencil-solver poisson-solver
simple-solver three-pt-stencil-solver poisson-solver
1 change: 0 additions & 1 deletion examples/nine-pt-stencil-solver/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@ The intention of this is to show how generation of stencil values and the right
hand side vector changes when increasing the dimension.

<h3> About the example </h3>

1 change: 0 additions & 1 deletion examples/papi-logging/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
<h1>Introduction</h1>

<h3> About the example </h3>

2 changes: 1 addition & 1 deletion examples/par-ilu-convergence/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
<h3> About the example </h3>

This example can be used to inspect the convergence behavior of parallel
incomplete factorizations.
incomplete factorizations.
1 change: 0 additions & 1 deletion examples/poisson-solver/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@ application solving a real-world problem, which includes a solution of a large,
sparse linear system as a component.

<h3> About the example </h3>

1 change: 0 additions & 1 deletion examples/preconditioned-solver/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
<h1>Introduction</h1>

<h3> About the example </h3>

1 change: 0 additions & 1 deletion examples/simple-solver-logging/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
<h1>Introduction</h1>

<h3> About the example </h3>

1 change: 0 additions & 1 deletion examples/simple-solver/doc/builds-on
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

1 change: 0 additions & 1 deletion examples/three-pt-stencil-solver/doc/intro.dox
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,3 @@ use Ginkgo, and the only part where Ginkgo is introduced is inside the
`solve_system` function.

<h3> About the example </h3>

2 changes: 1 addition & 1 deletion matrices/examples/gko_logo_2d.mtx
Original file line number Diff line number Diff line change
Expand Up @@ -65535,4 +65535,4 @@
0.0
0.0
0.0
0.0
0.0
2 changes: 1 addition & 1 deletion reference/get_info.cmake
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# nothing to print here
# nothing to print here
1 change: 0 additions & 1 deletion third_party/SuiteSparse/AMD/Include/amd_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,3 @@ void AMD_preprocess
Int W [ ],
Int Flag [ ]
) ;

1 change: 0 additions & 1 deletion third_party/SuiteSparse/AMD/Source/amd_l2.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@

#define DLONG
#include "amd_2.c"

1 change: 0 additions & 1 deletion third_party/SuiteSparse/AMD/Source/amd_l_defaults.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@

#define DLONG
#include "amd_defaults.c"

1 change: 0 additions & 1 deletion third_party/SuiteSparse/AMD/Source/amd_l_post_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@

#define DLONG
#include "amd_post_tree.c"

1 change: 0 additions & 1 deletion third_party/SuiteSparse/AMD/Source/amd_l_postorder.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@

#define DLONG
#include "amd_postorder.c"

2 changes: 1 addition & 1 deletion third_party/identify_stream_usage/backtrace.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@ inline bool check_backtrace(const char* ignore_symbol = nullptr)
}


#endif // STREAM_USAGE_BACKTRACE_HPP_
#endif // STREAM_USAGE_BACKTRACE_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ void test_cudaLaunchKernel()
"No exception raised for kernel on default stream!");
}

int main() { test_cudaLaunchKernel(); }
int main() { test_cudaLaunchKernel(); }
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ void test_hipLaunchKernel()
"No exception raised for kernel on default stream!");
}

int main() { test_hipLaunchKernel(); }
int main() { test_hipLaunchKernel(); }

0 comments on commit f132fb1

Please sign in to comment.