Commit 30399801 authored by zhuwenwen's avatar zhuwenwen
Browse files

Merge branch 'v0.11.0-nccl' into 'v0.11.0-dev'

merge v0.11.0-nccl into v0.11.0-dev

See merge request dcutoolkit/deeplearing/vllm!305
parents 39a5084a a14aa44f
...@@ -226,21 +226,21 @@ class NCCLLibrary: ...@@ -226,21 +226,21 @@ class NCCLLibrary:
# ncclResult_t ncclCommWindowRegister( # ncclResult_t ncclCommWindowRegister(
# ncclComm_t comm, void* buff, size_t size, # ncclComm_t comm, void* buff, size_t size,
# ncclWindow_t* win, int winFlags); # ncclWindow_t* win, int winFlags);
Function( #Function(
"ncclCommWindowRegister", # "ncclCommWindowRegister",
ncclResult_t, # ncclResult_t,
[ # [
ncclComm_t, # ncclComm_t,
buffer_type, # buffer_type,
ctypes.c_size_t, # ctypes.c_size_t,
ctypes.POINTER(ncclWindow_t), # ctypes.POINTER(ncclWindow_t),
ctypes.c_int, # ctypes.c_int,
], # ],
), #),
# ncclResult_t ncclCommWindowDeregister( # ncclResult_t ncclCommWindowDeregister(
# ncclComm_t comm, ncclWindow_t win); # ncclComm_t comm, ncclWindow_t win);
Function("ncclCommWindowDeregister", ncclResult_t, #Function("ncclCommWindowDeregister", ncclResult_t,
[ncclComm_t, ncclWindow_t]), # [ncclComm_t, ncclWindow_t]),
] ]
# class attribute to store the mapping from the path to the library # class attribute to store the mapping from the path to the library
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment