implemented parsum
enable GPU & accept old args format