提交 c0b24762 authored 作者: Frédéric Bastien's avatar Frédéric Bastien 提交者: GitHub

Merge pull request #5400 from notoraptor/issue-5345

Change caching method of GpuarrayType to fix issue #5345
...@@ -476,9 +476,8 @@ class GpuArrayType(Type): ...@@ -476,9 +476,8 @@ class GpuArrayType(Type):
return ['gpuarray'] return ['gpuarray']
def c_code_cache_version(self): def c_code_cache_version(self):
ver = pygpu.gpuarray.api_version() ver = pygpu.gpuarray.abi_version()
# we only use the major version since the minor revision are # we only use the major version since the minor revision are compatible.
# API-compatible.
return (2, ver[0]) return (2, ver[0])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论