start mgpu porting