提交 0befaea4 authored 作者: f0k's avatar f0k

More elaborate cuDNN installation instructions

上级 bfcd3f9c
...@@ -13,12 +13,19 @@ installed with CUDA 6.5. You must download and install it ...@@ -13,12 +13,19 @@ installed with CUDA 6.5. You must download and install it
yourself. yourself.
To install it, decompress the downloaded file and make the ``*.h`` and To install it, decompress the downloaded file and make the ``*.h`` and
``*.so*`` files available to the compilation environment. On Linux, ``*.so*`` files available to the compilation environment.
this can be done by setting the environment variables There are at least three possible ways of doing so:
``LD_LIBRARY_PATH``, ``LIBRARY_PATH`` and ``CPATH`` to the
uncompressed directory path. Separate multiple directory with ``:`` as - The easiest is to include them in your CUDA installation. Copy the
the ``PATH`` environment variable. Or you can copy the ``*.h`` files ``*.h`` files to ``CUDA_ROOT/include`` and the ``*.so*`` files to
to ``/usr/include`` and the ``*.so*`` files to ``/lib64``. ``CUDA_ROOT/lib64`` (by default, ``CUDA_ROOT`` is ``/usr/local/cuda``
on Linux).
- Alternatively, on Linux, you can set the environment variables
``LD_LIBRARY_PATH``, ``LIBRARY_PATH`` and ``CPATH`` to the directory
extracted from the download. If needed, separate multiple directories
with ``:`` as in the ``PATH`` environment variable.
- And as a third way, also on Linux, you can copy the ``*.h`` files
to ``/usr/include`` and the ``*.so*`` files to ``/lib64``.
By default, Theano will detect if it can use cuDNN. If so, it will use By default, Theano will detect if it can use cuDNN. If so, it will use
it. If not, Theano optimizations will not introduce cuDNN ops. So it. If not, Theano optimizations will not introduce cuDNN ops. So
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论