提交 ecd66fd4 authored 作者: Frederic's avatar Frederic 提交者: Arnaud Bergeron

update code to new compyte interface.

上级 7fc26b8f
......@@ -299,7 +299,7 @@ class GpuFromCuda(Op):
}
Py_XDECREF(%(out)s);
%(out)s = new_GpuArray((PyObject *)&GpuArrayType, pygpu_default_context(), Py_None);
%(out)s = new_GpuArray((PyObject *)&PyGpuArrayType, pygpu_default_context(), Py_None);
if (%(out)s == NULL) {
free(%(name)sdims);
free(%(name)sstr);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论