Reputation: 23
I try to use graphics card to do some heavy computation(direct compute), and I hope it only enabled with dedicated graphics card, since a integrated graphics card is too weak for my program. I got the following info by using DXGI:
typedef struct DXGI_ADAPTER_DESC {
WCHAR Description[128];
UINT VendorId;
UINT DeviceId;
UINT SubSysId;
UINT Revision;
SIZE_T DedicatedVideoMemory;
SIZE_T DedicatedSystemMemory;
SIZE_T SharedSystemMemory;
LUID AdapterLuid;
} DXGI_ADAPTER_DESC;
For graphics card of NVidia and Intel, I can use VendorID to do that. But how can i know it is a dedicated graphics card or not for an AMD graphics card, since AMD produce both dGPU and iGPU.
Upvotes: 1
Views: 695