Created by: mapingshuo
At the beginning of the Paddle-Lite Configuration, some memory is allocated for the sgemm
calculation. The memory size depends on the L3 cache size of the machine. When it comes to a Mate20 phone, the memory reaches 4 MB.
This Pull Request added a parameter in the ConfigBase Class, which makes it possible to limit the allocated memory size. We have tested the limited memory from 1MB to 4MB and no speed decrease is found in our application.
Any discussion about this design is very welcomed.