提交 254b8e2e authored 作者: James Bergstra's avatar James Bergstra

Moved cmodule configuration variable declaration to cmodule file

上级 f6e76364
......@@ -65,10 +65,6 @@ AddConfigVar('gpuelemwise.sync',
"when true, wait that the gpu fct finished and check it error code.",
BoolParam(True))
AddConfigVar('cmodule.mac_framework_link',
"If set to true, breaks certain mac installations with the infamous Bus Error",
BoolParam(False))
AddConfigVar('traceback.limit',
"The number of stack to trace. -1 mean all.",
IntParam(5))
......@@ -7,6 +7,12 @@ import numpy.distutils #TODO: TensorType should handle this
import compilelock # we will abuse the lockfile mechanism when reading and writing the registry
from theano.configparser import TheanoConfigParser, AddConfigVar, EnumStr, StrParam, IntParam, FloatParam, BoolParam
AddConfigVar('cmodule.mac_framework_link',
"If set to true, breaks certain mac installations with the infamous Bus Error",
BoolParam(False))
_logger=logging.getLogger("theano.gof.cmodule")
_logger.setLevel(logging.WARN)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论