Programmatically get GPU information.