API Overview
HCCL provides communication operator APIs and communicator management APIs to implement distributed capabilities. In addition, HCCL provides communication operator development APIs for developers to customize communication operators.
- Communication operator APIs: provide P2P communication APIs of the collective communicator.
- Communicator management APIs: provide C and Python APIs.
- C APIs are used to implement framework adaptation in single-operator mode.
- Python APIs are used to implement framework adaptation in graph mode. Currently, they are only used to implement distributed optimization of the TensorFlow network on the Ascend AI Processor.
- Communication operator development APIs: used to support customization of communication operators.