pipeline computation of gather_phase

Change-Id: I0045326cffacf0355163188ca695da9c4471adc8
pipeline mkMemReaderBuff and mkMemWriterBuff

Change-Id: I399b60a9e85ec27e7266a6c2f8b3623b4007ff65