diff options
author | Pjotr Prins | 2017-10-13 12:28:26 +0000 |
---|---|---|
committer | Pjotr Prins | 2017-10-13 15:27:24 +0000 |
commit | a610dd723a233aed1abe31aa32e3137b23b5f983 (patch) | |
tree | 66172cf10d0d85f5a61219c1b7b074cbadb45575 /src/debug.h | |
parent | 25ad9756ebecfdb2f01b6f87c35bd731e3a3186d (diff) | |
download | pangemma-a610dd723a233aed1abe31aa32e3137b23b5f983.tar.gz |
OpenBlas: preparing for dgemm use
Diffstat (limited to 'src/debug.h')
-rw-r--r-- | src/debug.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/debug.h b/src/debug.h index 06ca5cb..0f7b38f 100644 --- a/src/debug.h +++ b/src/debug.h @@ -10,6 +10,15 @@ void gemma_gsl_error_handler (const char * reason, const char * file, int line, int gsl_errno); +void debug_set_debug_mode(bool setting); +void debug_set_no_check_mode(bool setting); +void debug_set_strict_mode(bool setting); + +bool is_debug_mode(); +bool is_no_check_mode(); +bool is_strict_mode(); + +gsl_matrix *gsl_matrix_safe_alloc(size_t rows,size_t cols); // Validation routines void do_validate_K(const gsl_matrix *K, bool do_check, bool strict, const char *__file, int __line); |