Number of GPUs in a system with Qt
Solved
General and Desktop
-
Hi,
I am new in Qt and want to find out the number of GPUs in a system. I am designing a GUI for a simulator. The simulator can work on 1 or more available GPUs in a workstation. For example if a system has 4 NVIDIA GPUs, I need to get this info (4 GPUs). Then I can run my simulator with QProcess based on the number of GPUs.
Thanks -
@Sahar With native APIs I mean API provided by the operating system. Like win32 on Windows.
You can use native APIs in your Qt app as any other as long as it has C or C++ interfaces.
Win32, for example, is a C API and you can use it in your Qt app.