AMD GPU Services (AGS)
Public Types | Public Attributes | List of all members
AGSDeviceInfo Struct Reference

The device info struct used to describe a physical GPU enumerated by AGS. More...

#include <amd_ags.h>

Public Types

enum  ArchitectureVersion { ArchitectureVersion_Unknown, ArchitectureVersion_PreGCN, ArchitectureVersion_GCN }
 The architecture version. More...
 

Public Attributes

const char * adapterString
 The adapter name string.
 
ArchitectureVersion architectureVersion
 Set to Unknown if not AMD hardware.
 
int vendorId
 The vendor id.
 
int deviceId
 The device id.
 
int revisionId
 The revision id.
 
int numCUs
 Number of compute units. Zero if not GCN onwards.
 
int numROPs
 Number of ROPs.
 
int coreClock
 Core clock speed at 100% power in MHz.
 
int memoryClock
 Memory clock speed at 100% power in MHz.
 
int memoryBandwidth
 Memory bandwidth in MB/s.
 
float teraFlops
 Teraflops of GPU. Zero if not GCN onwards. Calculated from iCoreClock * iNumCUs * 64 Pixels/clk * 2 instructions/MAD.
 
int isPrimaryDevice
 Whether or not this is the primary adapter in the system. Not set on the WACK version.
 
long long localMemoryInBytes
 The size of local memory in bytes. 0 for non AMD hardware.
 
int numDisplays
 The number of active displays found to be attached to this adapter.
 
AGSDisplayInfodisplays
 List of displays allocated by AGS to be numDisplays in length.
 
int eyefinityEnabled
 Indicates if Eyefinity is active.
 
int eyefinityGridWidth
 Contains width of the multi-monitor grid that makes up the Eyefinity Single Large Surface.
 
int eyefinityGridHeight
 Contains height of the multi-monitor grid that makes up the Eyefinity Single Large Surface.
 
int eyefinityResolutionX
 Contains width in pixels of the multi-monitor Single Large Surface.
 
int eyefinityResolutionY
 Contains height in pixels of the multi-monitor Single Large Surface.
 
int eyefinityBezelCompensated
 Indicates if bezel compensation is used for the current SLS display area. 1 if enabled, and 0 if disabled.
 
int adlAdapterIndex
 Internally used index into the ADL list of adapters.
 

Detailed Description

The device info struct used to describe a physical GPU enumerated by AGS.

Member Enumeration Documentation

◆ ArchitectureVersion

The architecture version.

Enumerator
ArchitectureVersion_Unknown 

Unknown architecture, potentially from another IHV. Check AGSDeviceInfo::vendorId.

ArchitectureVersion_PreGCN 

AMD architecture, pre-GCN.

ArchitectureVersion_GCN 

AMD GCN architecture.