HPCToolkit
|
Classes | |
class | fdecl |
class | VarDesc |
class | xlateEntry |
Functions | |
def | ProcessDirectiveLine (lastFunction, line) |
def | ProcessWrapperPreLine (lastFunction, line) |
def | ProcessWrapperPostLine (lastFunction, line) |
def | DumpDict () |
def | SpecialParamRecord (funct, param) |
Some MPI types we want to record. More... | |
def | ParamDictUpdate (fname) |
ParamDictUpdate - updates the datastructures for a function after the basics have been entered. More... | |
def | ReadInputFile (f) |
Parses the input file and loads the information into the function dict. More... | |
def | StandardFileHeader (fname) |
create a standard file header and return the init list More... | |
def | ParameterOptimization () |
Scan the lists of all functions and look for optimization opportunities (in space/speed). More... | |
def | GenerateStructureFile () |
Create the structure files. More... | |
def | GenerateLookup () |
Generate a lookup table where mpiP can grab variables and function pointers. More... | |
def | CreateWrapper (funct, olist) |
Create a MPI wrapper for one function using the information in the function dict. More... | |
def | GenerateWrappers () |
def | GetFortranSymbol (fsymtp, fsym) |
def | GenerateWeakSymbols () |
def | GenerateSymbolDefs () |
def | main () |
Variables | |
int | cnt = 0 |
dictionary | fdict = {} |
string | lastFunction = "NULL" |
int | verbose = 0 |
int | baseID = 1000 |
dictionary | messParamDict |
dictionary | ioParamDict |
dictionary | rmaParamDict |
list | noDefineList |
dictionary | opaqueInArgDict |
dictionary | opaqueOutArgDict |
dictionary | incrementFortranIndexDict |
dictionary | xlateFortranArrayExceptions |
def make-wrappers.CreateWrapper | ( | funct, | |
olist | |||
) |
Create a MPI wrapper for one function using the information in the function dict.
First, generate a generic wrapper, and then the FORTRAN, C wrappers.
Definition at line 781 of file make-wrappers.py.
def make-wrappers.DumpDict | ( | ) |
Definition at line 457 of file make-wrappers.py.
def make-wrappers.GenerateLookup | ( | ) |
Generate a lookup table where mpiP can grab variables and function pointers.
Definition at line 740 of file make-wrappers.py.
def make-wrappers.GenerateStructureFile | ( | ) |
Create the structure files.
Definition at line 714 of file make-wrappers.py.
def make-wrappers.GenerateSymbolDefs | ( | ) |
def make-wrappers.GenerateWeakSymbols | ( | ) |
Definition at line 1156 of file make-wrappers.py.
def make-wrappers.GenerateWrappers | ( | ) |
Definition at line 1085 of file make-wrappers.py.
def make-wrappers.GetFortranSymbol | ( | fsymtp, | |
fsym | |||
) |
def make-wrappers.main | ( | ) |
def make-wrappers.ParamDictUpdate | ( | fname | ) |
ParamDictUpdate - updates the datastructures for a function after the basics have been entered.
Must be called for each function.
Definition at line 502 of file make-wrappers.py.
def make-wrappers.ParameterOptimization | ( | ) |
Scan the lists of all functions and look for optimization opportunities (in space/speed).
NOT USED
Definition at line 701 of file make-wrappers.py.
def make-wrappers.ProcessDirectiveLine | ( | lastFunction, | |
line | |||
) |
def make-wrappers.ProcessWrapperPostLine | ( | lastFunction, | |
line | |||
) |
def make-wrappers.ProcessWrapperPreLine | ( | lastFunction, | |
line | |||
) |
def make-wrappers.ReadInputFile | ( | f | ) |
Parses the input file and loads the information into the function dict.
Definition at line 587 of file make-wrappers.py.
def make-wrappers.SpecialParamRecord | ( | funct, | |
param | |||
) |
Some MPI types we want to record.
If there are pointers to them, deref them. To simplify, assume that the value can be an 'int' for printing and assignment.
Definition at line 472 of file make-wrappers.py.
def make-wrappers.StandardFileHeader | ( | fname | ) |
create a standard file header and return the init list
Definition at line 683 of file make-wrappers.py.
int make-wrappers.baseID = 1000 |
Definition at line 31 of file make-wrappers.py.
int make-wrappers.cnt = 0 |
Definition at line 27 of file make-wrappers.py.
dictionary make-wrappers.fdict = {} |
Definition at line 28 of file make-wrappers.py.
dictionary make-wrappers.incrementFortranIndexDict |
Definition at line 382 of file make-wrappers.py.
dictionary make-wrappers.ioParamDict |
Definition at line 81 of file make-wrappers.py.
string make-wrappers.lastFunction = "NULL" |
Definition at line 29 of file make-wrappers.py.
dictionary make-wrappers.messParamDict |
Definition at line 33 of file make-wrappers.py.
list make-wrappers.noDefineList |
Definition at line 107 of file make-wrappers.py.
dictionary make-wrappers.opaqueInArgDict |
Definition at line 111 of file make-wrappers.py.
dictionary make-wrappers.opaqueOutArgDict |
Definition at line 327 of file make-wrappers.py.
dictionary make-wrappers.rmaParamDict |
Definition at line 97 of file make-wrappers.py.
int make-wrappers.verbose = 0 |
Definition at line 30 of file make-wrappers.py.
dictionary make-wrappers.xlateFortranArrayExceptions |
Definition at line 389 of file make-wrappers.py.