fixed gpu_id enumeration