View Full Version : Getting device info
How can I query info from a given device using the C++ bindings so I can show it?
I have a vector<Device> with one device on position 0 and I'm trying to use getInfo, but I can't get much information about how to use this method and the types i should pass it.
Solved, just inexperience =)
Reference for (other) beginners:
// get platform
cout << "Platform number is: " << platformList.size() << endl;
// show platform info
cout << "Platform Info: " << platformInfo.c_str() << endl;
// get available devices
cout << devices.size() << " device(s) found!" << endl;
// show device info
cout << "Device name: " << name.c_str() << endl;
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.