remove unused array
fix onephase scatter_if - was broken when converting to new mgpu api