Skip to content
This repository was archived by the owner on May 17, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Clang-format Full Tree
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: DoozyX/[email protected]
with:
source: '.'
extensions: 'hpp,cpp'
clangFormatVersion: 8
style: file
2 changes: 1 addition & 1 deletion src/torch_ucc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* * See file LICENSE for terms.
* */

#include <torch_ucc.hpp>
#include <stdio.h>
#include <torch_ucc.hpp>
#include <torch_ucc_sendrecv.hpp>

#ifdef USE_CUDA
Expand Down
2 changes: 1 addition & 1 deletion src/torch_ucx_coll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* * See file LICENSE for terms.
* */

#include <torch_ucx_coll.hpp>
#include <torch_ucc_ops.hpp>
#include <torch_ucx_coll.hpp>
#include <cstdlib>

namespace c10d {
Expand Down
2 changes: 1 addition & 1 deletion src/torch_xccl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* * See file LICENSE for terms.
* */

#include <torch_xccl.hpp>
#include <c10d/Utils.hpp>
#include <torch_xccl.hpp>
#include <map>

namespace c10d {
Expand Down