Get the GLOP set map information associated with an external routine.
Before an external routine can access GLOP data, the routine must call FNC_Get_GLOP_Map. The call serves two purposes:
- To tell the system the GLOP memory is to be used.
- To make sure new mappings are registered and old mappings are restored.
FNC_Get_GLOP_Map returns an integer that indicates success or failure.
A returned integer of non zero indicates that the mapping has not been done.
Value | Meaning |
---|---|
0 | Map was set up. |
-1 | The GLOP set was not mapped because the maximum vproc GLOP memory limit has been reached. To change the limit, use the cufconfig utility. For details, see Utilities. |
-2 | The GLOP set was not mapped because the external routine is no longer a member of the GLOP set, the set no longer exists, or the database where the routine resides is no longer a member of the set. |