Skip to content

Commit bfdf324

Browse files
[pre-commit.ci] pre-commit autoupdate (#109)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](pre-commit/pre-commit-hooks@v5.0.0...v6.0.0) - [github.com/pre-commit/mirrors-clang-format: v20.1.7 → v21.1.2](pre-commit/mirrors-clang-format@v20.1.7...v21.1.2) - [github.com/astral-sh/ruff-pre-commit: v0.12.2 → v0.13.3](astral-sh/ruff-pre-commit@v0.12.2...v0.13.3) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 095ab02 commit bfdf324

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ci:
55

66
repos:
77
- repo: https://github.com/pre-commit/pre-commit-hooks
8-
rev: 'v5.0.0'
8+
rev: 'v6.0.0'
99
hooks:
1010
- id: end-of-file-fixer
1111
exclude_types: [svg]
@@ -45,12 +45,12 @@ repos:
4545
- --keep-after=.. automodule
4646
- --comment-prefix=..
4747
- repo: https://github.com/pre-commit/mirrors-clang-format
48-
rev: v20.1.7
48+
rev: v21.1.2
4949
hooks:
5050
- id: clang-format
5151
types_or: [c, c++, cuda, inc]
5252
- repo: https://github.com/astral-sh/ruff-pre-commit
53-
rev: v0.12.2
53+
rev: v0.13.3
5454
hooks:
5555
- id: ruff-format
5656
types_or: [python]

src/ImagePotentialBondGPU.cuh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -353,10 +353,10 @@ compute_bond_forces(const bond_args_t<group_size>& bond_args,
353353
}
354354
#else
355355
template<class evaluator, int group_size>
356-
__attribute__((visibility("default"))) hipError_t
357-
compute_bond_forces(const bond_args_t<group_size>& bond_args,
358-
const typename evaluator::param_type* d_params,
359-
unsigned int* d_flags);
356+
__attribute__((visibility("default")))
357+
hipError_t compute_bond_forces(const bond_args_t<group_size>& bond_args,
358+
const typename evaluator::param_type* d_params,
359+
unsigned int* d_flags);
360360
#endif
361361

362362
} // end namespace gpu

0 commit comments

Comments
 (0)