Batch update, gm reduction speedup

Signed-off-by: cheesinglee <cheesinglee@gmail.com>
Merge branch 'master' of github.com:cheesinglee/scphd-cuda