提交 408e21af 编写于 作者: D dongzhihong

"remove clang format detect"

上级 4e95c49d
...@@ -17,10 +17,8 @@ class NCCLManager { ...@@ -17,10 +17,8 @@ class NCCLManager {
~NCCLManager() {} ~NCCLManager() {}
private: private:
// clang-format off
std::vector<ncclComm_t> _comms; std::vector<ncclComm_t> _comms;
std::vector<int> _gpu_worlds; std::vector<int> _gpu_worlds;
// clang-format on
}; };
class NCCLContext : public DeviceContext { class NCCLContext : public DeviceContext {
...@@ -29,11 +27,9 @@ class NCCLContext : public DeviceContext { ...@@ -29,11 +27,9 @@ class NCCLContext : public DeviceContext {
virtual ~NCCLContext(); virtual ~NCCLContext();
private: private:
// clang-format off
std::vector<int> _gpu_ids; std::vector<int> _gpu_ids;
std::vector<cudaStream_t> _streams; std::vector<cudaStream_t> _streams;
int root_gpu; int root_gpu;
// clang-format on
}; };
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册