Fix multi-GPU auto-config code