/usr/include/init_term.h is in libga-dev 5.3+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | /**
* @file init_term.h
*
* Ga Initialize and Terminate calls.
*/
#ifndef _INITTERM_H
#define _INITTERM_H
namespace GA {
/**
* Initialize Global Arrays.
* Allocate and initialize internal data structures in Global Arrays.
* The limit is per process: it is the amount of memory that the given
* processor can contribute to collective allocation of global arrays.
* It does not include temporary storage that GA might be allocating (and
* releasing) during execution of a particular operation.
* limit < 0 means "allow unlimited memory usage" in which case this
* operation is equivalent to GA_initialize. This is a collective operation.
* @param argc,argv - command line argument lists.
* @param limit - amount of memory in bytes per process [input]
*/
void Initialize(int argc, char *argv[], size_t limit = 0);
/**
*Initialize Global Arrays.
* Allocate and initialize internal data structures in Global Arrays.
* The limit is per process: it is the amount of memory that the given
* processor can contribute to collective allocation of global arrays.
* It does not include temporary storage that GA might be allocating (and
* releasing) during execution of a particular operation.
* limit < 0 means "allow unlimited memory usage" in which case this
* operation is equivalent to GA_initialize. This is a collective operation.
* @param argc,argv - command line argument lists.
* @param limit - amount of memory in bytes per process [input]
* @param heapSize, stackSize - all of the dynamically allocated local memory
* @param type - data type.
* in GA comes from its companion library, the Memory Allocator (MA) library.
* MA allocates and manages local memory using stack and heap disciplines.
* [refer section 3.2 of GA USer manual for more info]
*/
void Initialize(int argc, char *argv[], unsigned long heapSize,
unsigned long stackSize, int type, size_t limit = 0);
/**
* Delete all active arrays and destroy internal data structures.
* This is a collective operation.
*/
void Terminate();
}
#endif /* _INITTERM_H */
|