Skip to content

Memory Mapping ​

UCC.MemoryHandle Type
julia
UCC.MemoryHandle(ctx::Context, buffers...; mode=UCC_MEM_MAP_MODE_EXPORT) :: MemoryHandle

Map (register) buffers with ctx for use in one-sided collectives. With UCC_MEM_MAP_MODE_EXPORT, the serialized handle (Vector{UInt8}(memh)) can be exchanged with other ranks, which then import it with UCC.MemoryHandle(ctx, bytes; mode=UCC_MEM_MAP_MODE_IMPORT).

Release with UCC.destroy.

External links

  • ucc_mem_map, ucc_mem_unmap
source