Get the GLOP set map information associated with an external routine.
Before an external routine can access any GLOP data, it must call FNC_Get_GLOP_Map. The call serves two purposes:
- It lets the system know that the GLOP memory is going to be used.
- It ensures that new mappings will be registered and that old mappings will be 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. |