addedgpu selection code