tmoreau89 commented on a change in pull request #9:
URL: https://github.com/apache/incubator-tvm-vta/pull/9#discussion_r477015151
##########
File path: src/sim/sim_driver.cc
##########
@@ -181,6 +181,51 @@ class SRAM {
}
memset(sram_ptr, 0, kElemBytes * xtotal * op->y_pad_1);
}
+
+ // This is for load 8bits to ACC only
+ void Load_int8(const VTAMemInsn* op,
+ DRAM* dram,
+ uint64_t* load_counter,
+ bool skip_exec) {
+ CHECK_EQ(kBits, VTA_ACC_WIDTH);
+
+ // TODO(zhanghao): extend to other width
+ CHECK_EQ(VTA_ACC_WIDTH, 32);
+ CHECK_EQ(VTA_INP_WIDTH, 8);
Review comment:
Should we include an assertion for the WGT width as well?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]