提交 f1cc5087 authored 作者: Frederic Bastien's avatar Frederic Bastien

Fix crash in op not used.

上级 844b3671
......@@ -2384,7 +2384,7 @@ class MaxPoolRop(OpenMPOp):
}
// use the index to find the correct position in the output
o_idx[%(non_pool_ndim)s + %(i)s] = r_idx[%(i)s];
""" % dict(i=i, non_pool_ndim=non_pool_ndim)
""" % dict(i=i, params=sub['params'], non_pool_ndim=non_pool_ndim)
ccode += """
// get a pointer to the correct position in the output
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论