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

Fix compilation error due to type error.

上级 ecd66fd4
...@@ -423,7 +423,7 @@ class CudaFromGpu(Op): ...@@ -423,7 +423,7 @@ class CudaFromGpu(Op):
%(fail)s %(fail)s
} }
if (GpuArray_sync(%(inp)s->ga.nd) != GA_NO_ERROR) { if (GpuArray_sync(&%(inp)s->ga) != GA_NO_ERROR) {
PyErr_SetString(PyExc_RuntimeError, "Could not sync GpuArray"); PyErr_SetString(PyExc_RuntimeError, "Could not sync GpuArray");
%(fail)s %(fail)s
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论