Kaiser-Yang/matrix-calculation-accelerator

Refactor the memory allocation part

Closed this issue · 0 comments

In our matix, we find that every constructor and some assignments consist of this part:
image

This part is easily reused. Use a private method to reuse the codes.