Unverified 提交 6b929c60 authored 作者: Frédéric Bastien's avatar Frédéric Bastien 提交者: GitHub

Merge pull request #6508 from abergeron/relax_check

Don't complain about MKL threading on mac since openmp doesn't work.
...@@ -1241,7 +1241,8 @@ AddConfigVar('cmodule.debug', ...@@ -1241,7 +1241,8 @@ AddConfigVar('cmodule.debug',
def check_mkl_openmp(): def check_mkl_openmp():
if not theano.config.blas.check_openmp: if not theano.config.blas.check_openmp:
return return
import os if sys.platform == 'darwin':
return
if ('MKL_THREADING_LAYER' in os.environ and if ('MKL_THREADING_LAYER' in os.environ and
os.environ['MKL_THREADING_LAYER'] == 'GNU'): os.environ['MKL_THREADING_LAYER'] == 'GNU'):
return return
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论