aboutsummaryrefslogtreecommitdiff
path: root/src/gemma.cpp
diff options
context:
space:
mode:
authorPjotr Prins2018-09-06 06:35:59 +0000
committerPjotr Prins2018-09-06 06:35:59 +0000
commit8010061e8af476d66a0ca6fb6d509b36acdb9b9a (patch)
tree0ee1c266985ea274d649b7ec4b24c6fb80ff1f1d /src/gemma.cpp
parentd557b6e3cbf9cb39957e466b487db1dc55552676 (diff)
downloadpangemma-8010061e8af476d66a0ca6fb6d509b36acdb9b9a.tar.gz
Further debugging
Diffstat (limited to 'src/gemma.cpp')
-rw-r--r--src/gemma.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gemma.cpp b/src/gemma.cpp
index e1d76d4..7d12055 100644
--- a/src/gemma.cpp
+++ b/src/gemma.cpp
@@ -733,6 +733,7 @@ void GEMMA::PrintHelp(size_t option) {
if (option == 14) {
cout << " DEBUG OPTIONS" << endl;
cout << " -no-check disable checks" << endl;
+ cout << " -no-fpe-check disable hardware floating point checking" << endl;
cout << " -strict strict mode will stop when there is a problem" << endl;
cout << " -silence silent terminal display" << endl;
cout << " -debug debug output" << endl;
@@ -1616,6 +1617,9 @@ void GEMMA::Assign(int argc, char **argv, PARAM &cPar) {
} else if (strcmp(argv[i], "-no-check") == 0) {
// cPar.mode_check = false;
debug_set_no_check_mode(true);
+ } else if (strcmp(argv[i], "-no-fpe-check") == 0) {
+ // cPar.mode_check = false;
+ debug_set_no_fpe_check_mode(true);
} else if (strcmp(argv[i], "-strict") == 0) {
// cPar.mode_strict = true;
debug_set_strict_mode(true);