提交 46baf3f2 authored 作者: James Bergstra's avatar James Bergstra

attempt to enable cuda devices 4 through 16

上级 6d3f19ca
...@@ -25,7 +25,11 @@ AddConfigVar('floatX', ...@@ -25,7 +25,11 @@ AddConfigVar('floatX',
#gpuX mean use the gpu number X. #gpuX mean use the gpu number X.
AddConfigVar('device', AddConfigVar('device',
"Default device for computations. If gpu*, change the default to try to move computation to it and to put shared variable of float32 on it.", "Default device for computations. If gpu*, change the default to try to move computation to it and to put shared variable of float32 on it.",
EnumStr('cpu', 'gpu', 'gpu0', 'gpu1', 'gpu2', 'gpu3', EnumStr('cpu', 'gpu',
'gpu0', 'gpu1', 'gpu2', 'gpu3',
'gpu4', 'gpu5', 'gpu6', 'gpu7',
'gpu8', 'gpu9', 'gpu10', 'gpu11',
'gpu12', 'gpu13', 'gpu14', 'gpu15',
allow_override=False) allow_override=False)
) )
...@@ -34,7 +38,11 @@ AddConfigVar('init_gpu_device', ...@@ -34,7 +38,11 @@ AddConfigVar('init_gpu_device',
"Unlike 'device', setting this option will NOT move computations, " "Unlike 'device', setting this option will NOT move computations, "
"nor shared variables, to the specified GPU. " "nor shared variables, to the specified GPU. "
"It can be used to run GPU-specific tests on a particular GPU."), "It can be used to run GPU-specific tests on a particular GPU."),
EnumStr('', 'gpu', 'gpu0', 'gpu1', 'gpu2', 'gpu3', EnumStr('', 'gpu',
'gpu0', 'gpu1', 'gpu2', 'gpu3',
'gpu4', 'gpu5', 'gpu6', 'gpu7',
'gpu8', 'gpu9', 'gpu10', 'gpu11',
'gpu12', 'gpu13', 'gpu14', 'gpu15',
allow_override=False) allow_override=False)
) )
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论