Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
davschneller committed Nov 13, 2024
1 parent ab1821f commit 20d2eac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
sudo apt-get -y install python3 python3-pip
# fix version here for now
pip3 install --break-system-packages clang-format==18.1.5
pip3 install --break-system-packages clang-format==19.1.0
- name: run-clang-format
run: |
Expand Down
4 changes: 2 additions & 2 deletions async/as/Base.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ class Base : public async::ExecInfo {
* @param clone True of the buffer is the same (a clone) on all MPI processes.
* (Allows additional optimizations.)
*/
virtual auto
addSyncBuffer(const void* buffer, size_t size, bool clone = false) -> unsigned int = 0;
virtual auto addSyncBuffer(const void* buffer, size_t size, bool clone = false)
-> unsigned int = 0;

/**
* @param buffer The original memory location in the application or NULL if ASYNC should
Expand Down
4 changes: 2 additions & 2 deletions async/as/MPIBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ class MPIBase : public ThreadBase<Executor, InitParameter, Parameter>, private S

[[nodiscard]] auto scheduler() const -> const MPIScheduler& { return *m_scheduler; }

auto
addBuffer(const void* buffer, size_t size, bool clone = false, bool sync = true) -> unsigned {
auto addBuffer(const void* buffer, size_t size, bool clone = false, bool sync = true)
-> unsigned {
assert(m_scheduler);
assert(!m_scheduler->isExecutor());

Expand Down

0 comments on commit 20d2eac

Please sign in to comment.