提交 f1f06bb9 authored 作者: Frederic's avatar Frederic

Disable the // convolution by default, as it slow thing down by default in some cases.

上级 7af85cad
...@@ -420,6 +420,11 @@ else: ...@@ -420,6 +420,11 @@ else:
" want theano to use.") " want theano to use.")
default_openmp = count > 1 default_openmp = count > 1
# Disable it by default for now as currently only the ConvOp support
# it And this cause slow down by default as we do not disable it for
# too small convolution.
default_openmp = False
AddConfigVar('openmp', AddConfigVar('openmp',
"Allow (or not) parallel computation on the CPU with OpenMP. " "Allow (or not) parallel computation on the CPU with OpenMP. "
"This is the default value used when creating an Op that " "This is the default value used when creating an Op that "
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论