提交 a94497b2 authored 作者: carriepl's avatar carriepl

Merge pull request #3051 from nouiz/fix_travis

Try to fix travis
...@@ -208,6 +208,7 @@ if run_memory_usage_tests: ...@@ -208,6 +208,7 @@ if run_memory_usage_tests:
n = numpy.asarray([2.3, 4.5], dtype='f') n = numpy.asarray([2.3, 4.5], dtype='f')
c = sys.getrefcount(n) c = sys.getrefcount(n)
a = cuda.CudaNdarray(n) a = cuda.CudaNdarray(n)
a.sum()
assert c == sys.getrefcount(n) assert c == sys.getrefcount(n)
del a del a
if not i % 1000: if not i % 1000:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论