nccl_mem_free

Function nccl_mem_free 

Source
pub unsafe fn nccl_mem_free(ptr: *mut c_void) -> Result<()>
Expand description

Free a buffer previously returned by nccl_mem_alloc.

ยงSafety

ptr must have been returned by nccl_mem_alloc and not yet freed.