@@ -42,7 +42,12 @@ impl sys::ncclResult_t {
42
42
/// See [cuda docs](https://docs.nvidia.com/deeplearning/nccl/user-guide/docs/api/comms.html?c.ncclCommFinalize)
43
43
/// # Safety
44
44
/// User is in charge of sending valid pointers.
45
- #[ cfg( not( any( feature = "cuda-11040" , feature = "cuda-11050" , feature = "cuda-11060" , feature = "cuda-11070" ) ) ) ]
45
+ #[ cfg( not( any(
46
+ feature = "cuda-11040" ,
47
+ feature = "cuda-11050" ,
48
+ feature = "cuda-11060" ,
49
+ feature = "cuda-11070"
50
+ ) ) ) ]
46
51
pub unsafe fn comm_finalize ( comm : sys:: ncclComm_t ) -> Result < NcclStatus , NcclError > {
47
52
lib ( ) . ncclCommFinalize ( comm) . result ( )
48
53
}
@@ -82,7 +87,12 @@ pub fn get_uniqueid() -> Result<sys::ncclUniqueId, NcclError> {
82
87
/// See [cuda docs](https://docs.nvidia.com/deeplearning/nccl/user-guide/docs/api/comms.html?ncclcomminitrankconfig)
83
88
/// # Safety
84
89
/// User is in charge of sending valid pointers.
85
- #[ cfg( not( any( feature = "cuda-11040" , feature = "cuda-11050" , feature = "cuda-11060" , feature = "cuda-11070" ) ) ) ]
90
+ #[ cfg( not( any(
91
+ feature = "cuda-11040" ,
92
+ feature = "cuda-11050" ,
93
+ feature = "cuda-11060" ,
94
+ feature = "cuda-11070"
95
+ ) ) ) ]
86
96
pub unsafe fn comm_init_rank_config (
87
97
comm : * mut sys:: ncclComm_t ,
88
98
nranks : :: core:: ffi:: c_int ,
0 commit comments