GPU calc: refactor code for sum reduction and

sumifs naming rule

Change-Id: I685d263337bebe236befa5e5f45356336936c998

Signed-off-by: I-Jui (Ray) Sung <ray@multicorewareinc.com>