From da3c5ad5c6db46fb2198a5bf75648e71e2a17996 Mon Sep 17 00:00:00 2001 From: Artyom Bologov Date: Sat, 17 Aug 2024 02:43:47 +0400 Subject: Add -debug-dump CLI flag for dumping data to files. --- src/debug.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/debug.h') diff --git a/src/debug.h b/src/debug.h index ff22756..0489a81 100644 --- a/src/debug.h +++ b/src/debug.h @@ -33,6 +33,7 @@ void gemma_gsl_error_handler (const char * reason, void debug_set_debug_mode(bool setting); void debug_set_debug_data_mode(bool setting); +void debug_set_debug_dump_mode(bool setting, char *path); void debug_set_check_mode(bool setting); void debug_set_no_check_mode(bool setting); void debug_set_no_fpe_check_mode(bool setting); @@ -43,6 +44,7 @@ void debug_set_legacy_mode(bool setting); bool is_debug_mode(); bool is_debug_data_mode(); +bool is_debug_dump_mode(); bool is_no_check_mode(); bool is_check_mode(); bool is_fpe_check_mode(); -- cgit v1.2.3