Skip to content

Commit 100983d

Browse files
pre-commit-ci[bot]hfp
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 534cdae commit 100983d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

examples/dbcsr_example_3.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ int main(int argc, char* argv[]) {
5353

5454
for (int i = 0; i != mpi_size; ++i) {
5555
if (mpi_rank == i) {
56-
std::cout << "I'm processor " << mpi_rank << " over " << mpi_size << " proc"
57-
<< ", (" << coord[0] << ", " << coord[1] << ") in the 2D grid" << std::endl;
56+
std::cout << "I'm processor " << mpi_rank << " over " << mpi_size << " proc" << ", (" << coord[0] << ", " << coord[1]
57+
<< ") in the 2D grid" << std::endl;
5858
}
5959
MPI_Barrier(MPI_COMM_WORLD);
6060
}

src/acc/acc_bench_smm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
#define ACC_BENCH_SMM_EPSILON_double 1E-3
9393
#define ACC_BENCH_SMM_EPSILON_float 2E-3
9494

95-
#define ROUNDUP2(N, NPOT) ((((unsigned long long)N) + ((NPOT)-1)) & ~((NPOT)-1))
95+
#define ROUNDUP2(N, NPOT) ((((unsigned long long)N) + ((NPOT) - 1)) & ~((NPOT) - 1))
9696
#define CHECK(EXPR, RPTR, VALUE) \
9797
do { \
9898
if (NULL != ((const void*)(RPTR))) { \

src/acc/acc_bench_trans.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
#endif
5757

5858
#define MAX(A, B) ((B) < (A) ? (A) : (B))
59-
#define ROUNDUP2(N, NPOT) ((((unsigned long long)N) + ((NPOT)-1)) & ~((NPOT)-1))
59+
#define ROUNDUP2(N, NPOT) ((((unsigned long long)N) + ((NPOT) - 1)) & ~((NPOT) - 1))
6060
#define CHECK(EXPR, RPTR) \
6161
if ((NULL != ((const void*)(RPTR)) && EXIT_SUCCESS != *((const int*)(RPTR))) || \
6262
EXIT_SUCCESS != (NULL != ((const void*)(RPTR)) ? (*((int*)(RPTR)) = (EXPR)) : (EXPR))) \

tests/dbcsr_test.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ int main(int argc, char* argv[]) {
5151

5252
for (int i = 0; i != mpi_size; ++i) {
5353
if (mpi_rank == i) {
54-
std::cout << "I'm processor " << mpi_rank << " over " << mpi_size << " proc"
55-
<< ", (" << coord[0] << ", " << coord[1] << ") in the 2D grid" << std::endl;
54+
std::cout << "I'm processor " << mpi_rank << " over " << mpi_size << " proc" << ", (" << coord[0] << ", " << coord[1]
55+
<< ") in the 2D grid" << std::endl;
5656
}
5757
MPI_Barrier(MPI_COMM_WORLD);
5858
}

0 commit comments

Comments
 (0)