From 00ff30af8ce474e6e350f4e8374d06780cca7c1a Mon Sep 17 00:00:00 2001 From: Illia Silin <98187287+illsilin@users.noreply.github.com> Date: Wed, 18 Jan 2023 09:44:11 -0800 Subject: [PATCH] fix a bug for 6-dim kernels (#555) --- library/include/ck/library/utility/host_tensor.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/include/ck/library/utility/host_tensor.hpp b/library/include/ck/library/utility/host_tensor.hpp index a8c7fd0395..29d94b0036 100644 --- a/library/include/ck/library/utility/host_tensor.hpp +++ b/library/include/ck/library/utility/host_tensor.hpp @@ -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],