openfam::fam::fam_unmap
Unmap a data item in FAM from the process virtual address space.
Synopsis
void fam_unmap(void *local, Fam_Descriptor *descriptor);
Description
This method unmaps a data item in FAM from the process virtual address space.
Input Arguments
Name | Description |
---|---|
local | Local pointer to be unmapped. |
descriptor | Descriptor associated with the data item in FAM to be unmapped. |
Return Values
None. Throws Fam_Exception
on error.
Fam Error Numbers
Error | Description |
---|---|
FAM_ERR_INVALID | API called with incorrect parameters. |
FAM_ERR_UNIMPL | Calling unimplemented functions/APIs. |
FAM_ERR_NOPERM | Caller does not have access rights |
FAM_ERR_LIBFABRIC | Libfabric error occurred. |
FAM_ERR_NOTFOUND | Item not found in the region. |
FAM_ERR_RPC_CLIENT_NOTFOUND | RPC service not available. |
FAM_ERR_METADATA | Metadata service error. |
FAM_ERR_MEMORY | Memory service error. |
FAM_ERR_RESOURCE | Resource not available. |
Notes
fam_map()
and fam_unmap()
are currently only supported in the scale-up (shared memory) configuration of the OpenFAM reference implementation.
Example
See example under fam_map