AdapterInfo Struct Reference

Structure containing information about the graphics adapter. More...


Common Members

Structure members that are common for Linux and Windows(XP, Vista and Windows 7); 32bit and 64bit

int iSize
 Size of the structure.
int iAdapterIndex
 The ADL index handle. One GPU may be associated with one or two index handles.
char strUDID [256]
 The unique device ID associated with this adapter.
int iBusNumber
 The BUS number associated with this adapter.
int iDeviceNumber
 The driver number associated with this adapter.
int iFunctionNumber
 The function number.
int iVendorID
 The vendor ID associated with this adapter.
char strAdapterName [256]
 Adapter name.
char strDisplayName [256]
 Display name. For example, "\\Display0" for Windows or ":0:0" for Linux.
int iPresent
 Present or not; 1 if present and 0 if not present.It the logical adapter is present, the display name such as \. can be found from OS.

Windows Members

Structure members that are common for Windows (XP, Vista and Windows 7); 32bit and 64bit

int iExist
 Exist or not; 1 is exist and 0 is not present.
char strDriverPath [256]
 Driver registry path.
char strDriverPathExt [256]
 Driver registry path Ext for.
char strPNPString [256]
 PNP string from Windows.
int iOSDisplayIndex
 It is generated from EnumDisplayDevices.

Linux Members

Structure members that are common for Linux; 32bit and 64bit

int iXScreenNum
 Internal X screen number from GPUMapInfo (DEPRICATED use XScreenInfo).
int iDrvIndex
 Internal driver index from GPUMapInfo.
char strXScreenConfigName [256]


Detailed Description

Structure containing information about the graphics adapter.

This structure is used to store various information about the graphics adapter. This information can be returned to the user. Alternatively, it can be used to access various driver calls to set or fetch various settings upon the user's request.

Examples:

Sample/main.c.


Field Documentation

Size of the structure.

The ADL index handle. One GPU may be associated with one or two index handles.

Examples:
Sample/main.c.

The unique device ID associated with this adapter.

The BUS number associated with this adapter.

The driver number associated with this adapter.

The function number.

The vendor ID associated with this adapter.

Adapter name.

Display name. For example, "\\Display0" for Windows or ":0:0" for Linux.

Present or not; 1 if present and 0 if not present.It the logical adapter is present, the display name such as \. can be found from OS.

Exist or not; 1 is exist and 0 is not present.

Driver registry path.

Driver registry path Ext for.

PNP string from Windows.

It is generated from EnumDisplayDevices.

Internal X screen number from GPUMapInfo (DEPRICATED use XScreenInfo).

Internal driver index from GPUMapInfo.

Deprecated:
Internal x config file screen identifier name. Use XScreenInfo instead.


Copyright © 2009-2013 Advanced Micro Devices, Inc. All rights reserved.  AMD Developer