Cosmetic changes.
Simplified GPU IDs part and check performed (a lot was redundant).