2014-01-21 38 views
1

我想獲得一個Gpu的名字,例如AMD Radeon HD4830,我想獲得像「ATI Radeon HD4830」這樣的信息。但是,我讀取了寄存器並獲取了信息如「ATI Radeon HD 4800 Series」。而我使用的D3D或OPCL的接口也可以獲得像「ATI Radeon HD 4800 Series」這樣的信息。我如何正確得到Gpu的名字?我想在Windows操作系統上用C++得到一個Gpu的名字

回答

0

您可以c++amp試試這個,如果你是在Windows中:

concurrency::accelerator a; 
wcout<<a.description; // a.description will contain the details (name if not a emulated accelerator) 
相關問題