HcclCommUnsetMemoryRange
This API is for trial use and may be changed in later versions. Therefore, it cannot be used in commercial products.
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
☓ |
√ |
|
☓ |
|
☓ |
|
☓ |
|
☓ |
For
Function
Notifies an HCCL communicator to invalidate the reserved virtual memory.
Prototype
1 | HcclResult HcclCommUnsetMemoryRange(HcclComm comm, void *baseVirPtr) |
Parameters
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. |
Returns
HcclResult: HCCL_SUCCESS on success, or else failure.
Constraints
This API will fail if any active memory allocations still exist within the virtual address space.