Skip to content

Commit

Permalink
Update oneflow/user/kernels/nccl_logical_2d_sbp_kernels.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: binbinHan <[email protected]>
  • Loading branch information
Flowingsun007 and clackhan authored Jan 24, 2025
1 parent 8110bd2 commit 9bb1fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oneflow/user/kernels/nccl_logical_2d_sbp_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class NcclLogical2DSameDim0KernelCommState : public user_op::OpKernelState {
}
~NcclLogical2DSameDim0KernelCommState() override = default;

ccl::CclComm ccl_comm() {
const ccl::CclComm& ccl_comm() const {
if (!is_init_) { Init(); }
return ccl_comm_;
}
Expand Down

0 comments on commit 9bb1fb8

Please sign in to comment.