提交 1e9ad459 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Fixes after code review.

上级 17ae2644
...@@ -1494,7 +1494,7 @@ class GCC_compiler(object): ...@@ -1494,7 +1494,7 @@ class GCC_compiler(object):
and will be run. and will be run.
If try_run is False, returns the compilation status. If try_run is False, returns the compilation status.
If try_run is False, returns a (compile_status, run_status) pair. If try_run is True, returns a (compile_status, run_status) pair.
""" """
if not theano.config.cxx: if not theano.config.cxx:
return False return False
......
...@@ -77,7 +77,10 @@ def detect_macos_sdot_bug(): ...@@ -77,7 +77,10 @@ def detect_macos_sdot_bug():
detect_macos_sdot_bug.present = False detect_macos_sdot_bug.present = False
return False return False
# Else, try a simple fix # Else, the bug is detected.
detect_macos_sdot_bug.present = True
# Then, try a simple fix
test_fix_code = textwrap.dedent("""\ test_fix_code = textwrap.dedent("""\
extern "C" float sdot_(int*, float*, int*, float*, int*); extern "C" float sdot_(int*, float*, int*, float*, int*);
extern "C" float cblas_sdot(int, float*, int, float*, int); extern "C" float cblas_sdot(int, float*, int, float*, int);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论