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

Bump the version of GpuArrayType.

This will force a recompile of everything and get rid of old modules that refer to the previous locations of the Ops, which causes a warning when they are reloaded.
上级 605da818
...@@ -463,7 +463,7 @@ class GpuArrayType(Type): ...@@ -463,7 +463,7 @@ class GpuArrayType(Type):
ver = pygpu.gpuarray.api_version() ver = pygpu.gpuarray.api_version()
# we only use the major version since the minor revision are # we only use the major version since the minor revision are
# API-compatible. # API-compatible.
return (1, ver[0]) return (2, ver[0])
class _operators(_tensor_py_operators): class _operators(_tensor_py_operators):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论