Before You Start

The zero-copy function is for trial use and may be changed in later versions. Therefore, it cannot be used in commercial products.

Introduction

In single-operator mode, the input and output buffers of the operator are dynamically adjusted. To avoid memory registration of processes at both ends during each communication, HCCL constructs a transit buffer within the communicator to facilitate collective communication, introducing additional memory copy overhead.

To minimize this memory copy overhead, HCCL supports direct operation on the memory transferred by the service, bypassing the need for a transit buffer. The APIs described in this section enable zero-copy implementations.

General Restrictions

The zero-copy function imposes the following restrictions: