You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by gu...@apache.org on 2023/01/13 20:54:28 UTC
[tvm] 09/11: Revert kernel corruption
This is an automated email from the ASF dual-hosted git repository.
guberti pushed a commit to branch acc-tests-1
in repository https://gitbox.apache.org/repos/asf/tvm.git
commit 428571d18014f28884865e4823fb0ef5d41a15f0
Author: Gavin Uberti <ga...@gmail.com>
AuthorDate: Thu Jan 12 15:54:57 2023 -0800
Revert kernel corruption
---
vww/modified.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/vww/modified.c b/vww/modified.c
index 449c1d03e6..b61e005ca3 100644
--- a/vww/modified.c
+++ b/vww/modified.c
@@ -30587,13 +30587,13 @@ TVM_DLL int32_t tvmgen_default_fused_nn_conv2d_add_cast_multiply_add_right_shift
for (int32_t kh = 0; kh < 3; ++kh) {
for (int32_t kw = 0; kw < 3; ++kw) {
for (int32_t oci = 0; oci < 2; ++oci) {
- kernel_vec[((((oco * 54) + (kh * 18)) + (kw * 6)) + oci)] = ((int16_t*)kernel_3971177)[((((kh * 72) + (kw * 24)) + (oco * 2)) + oci)];
+ kernel_vec[((((oco * 54) + (kh * 18)) + (kw * 6)) + oci)] = ((int16_t*)fused_constant_0)[((((kh * 72) + (kw * 24)) + (oco * 2)) + oci)];
}
for (int32_t oci_1 = 0; oci_1 < 2; ++oci_1) {
- kernel_vec[(((((oco * 54) + (kh * 18)) + (kw * 6)) + oci_1) + 2)] = ((int16_t*)kernel_3971177)[(((((kh * 72) + (kw * 24)) + (oco * 2)) + oci_1) + 8)];
+ kernel_vec[(((((oco * 54) + (kh * 18)) + (kw * 6)) + oci_1) + 2)] = ((int16_t*)fused_constant_0)[(((((kh * 72) + (kw * 24)) + (oco * 2)) + oci_1) + 8)];
}
for (int32_t oci_2 = 0; oci_2 < 2; ++oci_2) {
- kernel_vec[(((((oco * 54) + (kh * 18)) + (kw * 6)) + oci_2) + 4)] = ((int16_t*)kernel_3971177)[(((((kh * 72) + (kw * 24)) + (oco * 2)) + oci_2) + 16)];
+ kernel_vec[(((((oco * 54) + (kh * 18)) + (kw * 6)) + oci_2) + 4)] = ((int16_t*)fused_constant_0)[(((((kh * 72) + (kw * 24)) + (oco * 2)) + oci_2) + 16)];
}
}
}