提交 3cb11022 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Better error message for pygpu version too recent.

上级 d140f1a4
......@@ -64,7 +64,7 @@ def init_dev(dev, name=None, preallocate=None):
if (pygpu_version.major != 0 or pygpu_version.minor != 7 or
pygpu_version.patch < 0):
raise ValueError(
"Your installed version of pygpu(%s) is too old, please upgrade to 0.7.0 or later" %
"Your installed version of pygpu(%s) is too old, please upgrade to 0.7.0 or later (but below 0.8.0)" %
pygpu_version.fullversion)
# This is for the C headers API, we need to match the exact version.
gpuarray_version_major_supported = 2
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论