fixed multi GPU support by default, fixed pointer issue when using multi GPU