This API is for trial use and may be changed in later versions. Therefore, it cannot be used in commercial products.
Product |
Supported |
|---|---|
√ |
|
☓ |
|
☓ |
|
☓ |
|
☓ |
For
Notifies an HCCL communicator to invalidate the reserved virtual memory.
1 | HcclResult HcclCommUnsetMemoryRange(HcclComm comm, void *baseVirPtr) |
Parameter |
Input/Output |
Description |
|---|---|---|
comm |
Input |
HCCL communicator. You are advised to use the largest-scale communicator within the server, that is, the communicator that covers the maximum number of devices. |
baseVirPtr |
Input |
Base address of reserved virtual memory. The specified base address must have been successfully executed by calling HcclCommSetMemoryRange. Otherwise, an error is reported. |
HcclResult: HCCL_SUCCESS on success; else, failure.
If there is still active memory in the virtual address space, this API fails to be executed.