提交 ad1c566f authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Add mention of invalid context names.

上级 9ee4918c
......@@ -135,6 +135,8 @@ AddConfigVar(
'name->dev_name' format. An example that would map name 'test' to
device 'cuda0' and name 'test2' to device 'opencl0:0' follows:
"test->cuda0;test2->opencl0:0".
Invalid context names are 'cpu', 'cuda*' and 'opencl*'
""", ContextsParam(), in_c_key=False)
AddConfigVar(
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论