提交 9cab346a authored 作者: Frederic Bastien's avatar Frederic Bastien

print some env variable.

上级 6ae5e07d
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#C=a*C+dot(A,B)*b #C=a*C+dot(A,B)*b
#A,B,C matrix #A,B,C matrix
#a,b scalar #a,b scalar
import os
s=""" s="""
result for shapes=(2000,2000) and iters=100 result for shapes=(2000,2000) and iters=100
...@@ -32,6 +33,10 @@ def execute(execute=True, verbose=True): ...@@ -32,6 +33,10 @@ def execute(execute=True, verbose=True):
print ' blas.ldflags=',theano.config.blas.ldflags print ' blas.ldflags=',theano.config.blas.ldflags
print ' compiledir=',theano.config.compiledir print ' compiledir=',theano.config.compiledir
print ' floatX=',theano.config.floatX print ' floatX=',theano.config.floatX
print 'Some env flags:'
print ' MKL_NUM_THREADS=',os.getenv('MKL_NUM_THREADS')
print ' OMP_NUM_THREADS=',os.getenv('OMP_NUM_THREADS')
print ' GOTO_NUM_THREADS=',os.getenv('GOTO_NUM_THREADS')
print print
print 'Numpy config:(used when the theano flags "blas.ldflags" is empty)' print 'Numpy config:(used when the theano flags "blas.ldflags" is empty)'
numpy.show_config(); numpy.show_config();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论