提交 8b578fad authored 作者: notoraptor's avatar notoraptor

PCI Bus ID printed on another line.

上级 34b55c59
......@@ -93,9 +93,10 @@ def init_dev(dev, name=None):
warnings.warn('Unable to get PCI Bus ID. Please consider updating libgpuarray and pygpu.')
pcibusid = 'unknown'
print("Mapped name %s to device %s: %s; PCI Bus ID: %s" %
(name, dev, context.devname, pcibusid),
print("Mapped name %s to device %s: %s" %
(name, dev, context.devname),
file=sys.stderr)
print("PCI Bus ID:", pcibusid, file=sys.stderr)
pygpu_activated = True
ctx_props = _get_props(name)
ctx_props['dev'] = dev
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论