Support for more than one GPU device and more than one input number.