Actually call ::Scan instead of mgpu::Scan
Eliminate total parameter
Eliminate totalAtEnd parameter.