I think I will upgrade my Stata to 32-core or more.

But I am wondering what hardware I have to buy. Currently I have 10-core processor desktop. (I have this)

My understanding is that I have two options.
(1) Buy more graphic processing unit.
(2) Buy a new motherboard that will allow multiple processors. Buy 3 or 4 10-core processors.

Is there any other option other than these two?

I heard Matlab GPU computing requires me to write m-file code in somewhat differently. Is that the same for Stata? If I have to write a very different do file just because I am using GPU, that will be cumbersome.

Even if (1) and (2) achieve the same number of cores, will (2) be faster than (1)? What about collapse, probit, and bysort commands?

Thank you!