Use DeviceID to select GPU device.