Modified CPUSolver to have locally allocated accumulator