提交 4174f0cb authored 作者: Alexander Matyasko's avatar Alexander Matyasko

Update config documentation for magma

上级 06e4b1cc
...@@ -679,6 +679,29 @@ import theano and print the config variable, as in: ...@@ -679,6 +679,29 @@ import theano and print the config variable, as in:
``'guess_once'``, ``'guess_on_shape_change'``, ``'time_once'``, ``'guess_once'``, ``'guess_on_shape_change'``, ``'time_once'``,
``'time_on_shape_change'``. ``'time_on_shape_change'``.
.. attribute:: config.magma.enabled
String value: ``'True'``, ``'False'``
Default: ``'False'``
If ``'True'``, use `magma <http://icl.cs.utk.edu/magma/>`_ for matrix
computations.
If ``'False'``, disable magma.
.. attribute:: config.magma.include_path
Default: ``''``
Location of the magma headers.
.. attribute:: config.magma.library_path
Default: ``''``
Location of the magma library.
.. attribute:: config.gcc.cxxflags .. attribute:: config.gcc.cxxflags
Default: ``""`` Default: ``""``
......
...@@ -363,12 +363,12 @@ AddConfigVar('dnn.enabled', ...@@ -363,12 +363,12 @@ AddConfigVar('dnn.enabled',
AddConfigVar('magma.include_path', AddConfigVar('magma.include_path',
"Location of the magma header", "Location of the magma header",
StrParam(None), StrParam(''),
in_c_key=False) in_c_key=False)
AddConfigVar('magma.library_path', AddConfigVar('magma.library_path',
"Location of the magma library", "Location of the magma library",
StrParam(None), StrParam(''),
in_c_key=False) in_c_key=False)
AddConfigVar('magma.enabled', AddConfigVar('magma.enabled',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论