• Sam Johnson's avatar
    Bugfix: spaces in temp path prevents cudnn init · bdfaafac
    Sam Johnson 提交于
    When initializing theano with cudnn, _try_compile_tmp is eventually run to verify compiling a test program with gcc. This function requests a temporary path for the test program from tempfile.py. Rarely, tempfile.py can return a path that has spaces in it. If this happens, gcc cannot parse it correctly and throws an error. This change prevents the issue by wrapping the temporary path in quotes.
    
    For an example case: I was running python through an ssh client which accesses the home directory through a symlink in C:\Program Files\openssh\. Tempfile.py defaulted to the working directory and returned the path including the space in "Program Files", which crashed gcc.
    bdfaafac
名称
最后提交
最后更新
.circleci 正在载入提交数据...
.jenkins 正在载入提交数据...
.travis 正在载入提交数据...
bin 正在载入提交数据...
conda 正在载入提交数据...
doc 正在载入提交数据...
theano 正在载入提交数据...
.appveyor.yml 正在载入提交数据...
.gitattributes 正在载入提交数据...
.gitignore 正在载入提交数据...
.mailmap 正在载入提交数据...
.travis.yml 正在载入提交数据...
CONTRIBUTING.md 正在载入提交数据...
DESCRIPTION.txt 正在载入提交数据...
EMAIL.txt 正在载入提交数据...
HISTORY.txt 正在载入提交数据...
ISSUE_TEMPLATE.md 正在载入提交数据...
LICENSE.txt 正在载入提交数据...
MANIFEST.in 正在载入提交数据...
NEWS.txt 正在载入提交数据...
NEWS_DEV.txt 正在载入提交数据...
README.rst 正在载入提交数据...
Theano.pyproj 正在载入提交数据...
Theano.sln 正在载入提交数据...
requirement-rtd.txt 正在载入提交数据...
setup.cfg 正在载入提交数据...
setup.py 正在载入提交数据...
versioneer.py 正在载入提交数据...