Skip to content

Commit 5944647

Browse files
committed
Default to no float debug
1 parent 78031ea commit 5944647

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

configure.ac

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,14 @@ AC_ARG_ENABLE([examples],
7878
enable_examples=yes)
7979
AM_CONDITIONAL([OP_ENABLE_EXAMPLES], [test "$enable_examples" = "yes"])
8080

81+
AC_ARG_ENABLE([dnn-debug-float],
82+
AS_HELP_STRING([--enable-dnn-debug-float], [Use floating-point DNN computation everywhere]),,
83+
enable_dnn_debug_float=no)
84+
85+
AS_IF([test "$enable_dnn_debug_float" = "no"], [
86+
AC_DEFINE([DISABLE_DEBUG_FLOAT], [1], [Disable DNN debug float])
87+
])
88+
8189
OPUS_X86_SSE4_1_CFLAGS='-msse4.1'
8290
OPUS_X86_AVX2_CFLAGS='-mavx -mfma -mavx2'
8391
AC_SUBST([OPUS_X86_SSE4_1_CFLAGS])

0 commit comments

Comments
 (0)