Go to the source code of this file.
Function Documentation
| void destroyCheckpoint |
( |
|
) |
|
Remove all memory associated with checkpoint file and path names.
| char* getCheckpointInputFile |
( |
|
) |
|
Return the full path to the latest checkpoint file.
| int removeCheckpoints |
( |
|
) |
|
Remove the checkpoint sub-directory
| int renameCheckpointFile |
( |
|
) |
|
Rename the checkpoint sub-directory
| bool runningWithCheckpoints |
( |
|
) |
|
| void setCheckpoint |
( |
long |
value, |
|
|
char * |
outputBaseDir, |
|
|
char * |
versionedOutputBaseDir | |
|
) |
| | |
Setup everything for checkpoints. Find existing checkpoint directory for restarting, setup the checkpoint filenames.
- Parameters:
-
| [in] | value | Write a checkpoint file after this many iterations of lsqr. |
| [in] | outputBaseDir | Be sure to send the original output base directory, not the one that has version(s). This is where we'll look for an existing checkpoint directory. |
| [in] | versionedOutputBaseDir | Path for output base directory. This is where the checkpoint files will go. |
| void setCheckpointInputFile |
( |
char * |
filename |
) |
|
Record the path and name of a previous checkpoint file.
- Parameters:
-
| [in] | filename | Full path to a previous checkpoint file. |
Write OLA inversion weights, w, to a checkpoint file in a sub-directory.
- Parameters:
-