fix a bug for 6-dim kernels (#555)

This commit is contained in:
Illia Silin
2023-01-18 09:44:11 -08:00
committed by GitHub
parent 147b7db561
commit 00ff30af8c

View File

@@ -396,7 +396,7 @@ struct Tensor
}
case 6: {
auto f = [&](auto i0, auto i1, auto i2, auto i3, auto i4, auto i5) {
(*this)(i0, i1, i2, i3, i4) = g(i0, i1, i2, i3, i4, i5);
(*this)(i0, i1, i2, i3, i4, i5) = g(i0, i1, i2, i3, i4, i5);
};
make_ParallelTensorFunctor(f,
mDesc.GetLengths()[0],