提交 243f71e2 authored 作者: Frederic's avatar Frederic

Added info that we should use lower case gpu in device even if NVIDIA use upper case.

上级 eaa5f525
...@@ -115,6 +115,9 @@ import theano and print the config variable, as in: ...@@ -115,6 +115,9 @@ import theano and print the config variable, as in:
This flag's value cannot be modified during the program execution. This flag's value cannot be modified during the program execution.
Do not use upper case letters, only lower case even if NVIDIA use
capital letters.
.. attribute:: force_device .. attribute:: force_device
Bool value: either ``True`` or ``False`` Bool value: either ``True`` or ``False``
......
...@@ -46,7 +46,8 @@ AddConfigVar('int_division', ...@@ -46,7 +46,8 @@ AddConfigVar('int_division',
AddConfigVar('device', AddConfigVar('device',
("Default device for computations. If gpu*, change the default to try " ("Default device for computations. If gpu*, change the default to try "
"to move computation to it and to put shared variable of float32 " "to move computation to it and to put shared variable of float32 "
"on it."), "on it. Do not use upper case letters, only lower case even if "
"NVIDIA use capital letters."),
EnumStr('cpu', 'gpu', EnumStr('cpu', 'gpu',
'gpu0', 'gpu1', 'gpu2', 'gpu3', 'gpu0', 'gpu1', 'gpu2', 'gpu3',
'gpu4', 'gpu5', 'gpu6', 'gpu7', 'gpu4', 'gpu5', 'gpu6', 'gpu7',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论