ucb-bar / gemmini

Berkeley's Spatial Array Generator
Other
820 stars 170 forks source link

im2col module in Gemmini #327

Open jack4041313 opened 10 months ago

jack4041313 commented 10 months ago

https://people.eecs.berkeley.edu/~ysshao/assets/papers/genc2021-dac.pdf

In this paper, I observed that Gemmini includes the im2col module. The Rocket core consumes too many clock cycles on im2col. I need a more efficient way to execute im2col. Does the current Gemmini support the im2col function?

hngenc commented 9 months ago

The im2col module was basically replaced by the LoopConv.scala module, which is used by default by tiled_conv_auto. It should be used by default by resnet50.c and mobilenet.c, if you want to see examples