aclrtFreePhysical
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Description
Frees the physical memory allocated by the aclrtMallocPhysical call.
If the physical memory is mapped to virtual memory, the physical memory will not be actually freed. The physical memory is actually freed only after the mapping between the physical memory and the virtual memory is canceled by calling aclrtUnmapMem.
Prototype
1
|
aclError aclrtFreePhysical(aclrtDrvMemHandle handle) |
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
handle |
Input |
Handle for storing information about the physical memory to be freed. For details about the type definition, see aclrtDrvMemHandle. |
Returns
0 on success; else, failure. For details, see aclError.
Restrictions
This API is not supported in the Ascend RC form of the