Call bulk::copy_n instead of mgpu::DeviceSharedToGlobal