提交 429309fb 编写于 作者: D dolphin8

concat

上级 3b4ba914
...@@ -65,7 +65,7 @@ kernel void FUNC(concat, R, N, VV, P)(texture2d_array<P, access::read> in0 [[tex ...@@ -65,7 +65,7 @@ kernel void FUNC(concat, R, N, VV, P)(texture2d_array<P, access::read> in0 [[tex
} }
k -= cp.vdim[j]; k -= cp.vdim[j];
} }
if (k > cp.vdim[N-1]) { if (j == N) {
continue; continue;
} }
int ta = cp.odim[cp.axis]; int ta = cp.odim[cp.axis];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册