add gpu reduction