mscclpp.language.general
Functions
|
Convert the current MSCCL++ program to JSON format. |
- mscclpp.language.general.JSON()
Convert the current MSCCL++ program to JSON format.
This function post-processes all operations in the current program and returns the program representation as a JSON string. This is typically called after defining a complete communication program to serialize it for execution.
- Returns:
- A JSON string representation of the current MSCCL++ program,
including all ranks, operations, channels, and configuration.
- Return type: