提交 14334878 authored 作者: cocu's avatar cocu

improve waring message

上级 c5571093
...@@ -1574,8 +1574,12 @@ class GCC_compiler(object): ...@@ -1574,8 +1574,12 @@ class GCC_compiler(object):
if not "g++" in theano.config.cxx: if not "g++" in theano.config.cxx:
_logger.warn( _logger.warn(
"WARNING: your Theano flag `cxx` seems not to be g++ compiler.\n" "OPTIMIZATION WARNING: your Theano flag `cxx` seems not to be"
" Please specify name or path including `g++`." " the g++ compiler. So we disable the compiler optimization"
" specific to g++ that tell to compile for a specific CPU."
" At worst, this could cause slow down.\n"
" You can add yourself those parameters to the compiler"
" via the Theano flag `gcc.cxxflags`."
) )
detect_march = False detect_march = False
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论