1212# the sources of other configs are printed when the log level > 0.
1313# The configuration values below are (one of) the defaults.
1414
15+ # Configurations that are stored as `Utils.settings`:
16+
17+ # The log level, for ppx_minidebug and with a few other uses in OCANNL.
18+ log_level=1
19+
20+ # If `log_level` is at least 2 and this is true, the generated code will contain
21+ # printf statements, whose output is then (typically) integrated into ppx_minidebug logs.
22+ debug_log_from_routines=false
23+
24+ # If true, various intermediate representation files for the compiled code are generated
25+ # (or not removed). Moreover, if log level is at least 2, the generated binaries will
26+ # contain debug symbols for debugging with `gdb`, `cuda-gdb` etc.
27+ output_debug_files_in_build_directory=false
28+
29+ # If given, the integer seed to initialize the randomness library with.
30+ fixed_state_for_init=
31+
32+ # For printing tensors, etc.
33+ print_decimals_precision=2
34+
35+ # Complains if a half-precision tensor node is a constant with absolute value exceeding this.
36+ check_half_prec_constants_cutoff=16384.0
37+
38+ # Other configurations:
39+
40+ # If true, stdout capturing is disabled, so some logs meant for the ppx_minidebug log files
41+ # (in particular CUDA logs) remain on the stdout.
42+ #
43+ # NOTE: current implementation of stdout capture loses information on channel
44+ # buffering overflows, so it is important to verify with this setting if one gets
45+ # sufficient information in the logs files.
46+ never_capture_stdout=false
47+
48+ # If set and relevant, it's the `CU_LIMIT_PRINTF_FIFO_SIZE` CUDA configuration.
49+ cuda_printf_fifo_size=
50+
1551# The `-O` argument to the compiler executable for the `cc` backend.
1652cc_backend_optimization_level=3
1753
@@ -86,29 +122,3 @@ debug_highlights=
86122
87123# For ppx_minidebug: a pcre syntax regular expression to highlight in the logs.
88124debug_highlight_pcre=
89-
90- # Configurations that are stored as `Utils.settings`:
91-
92- # The log level, for ppx_minidebug and with a few other uses in OCANNL.
93- log_level=1
94-
95- # If `log_level` is at least 2 and this is true, the generated code will contain
96- # printf statements, whose output is then (typically) integrated into ppx_minidebug logs.
97- debug_log_from_routines=false
98-
99- # If true, various intermediate representation files for the compiled code are generated
100- # (or not removed). Moreover, if log level is at least 2, the generated binaries will
101- # contain debug symbols for debugging with `gdb`, `cuda-gdb` etc.
102- output_debug_files_in_build_directory=false
103-
104- # If given, the integer seed to initialize the randomness library with.
105- fixed_state_for_init=
106-
107- # For printing tensors, etc.
108- print_decimals_precision=2
109-
110- # Complains if a half-precision tensor node is a constant with absolute value exceeding this.
111- check_half_prec_constants_cutoff=16384.0
112-
113- # If set and relevant, it's the `CU_LIMIT_PRINTF_FIFO_SIZE` CUDA configuration.
114- cuda_printf_fifo_size=
0 commit comments