VendorId 

Gets the vendor id of a GPU.

Syntax 

ADLX_RESULT     VendorId (const char** vendorId)

Parameters 

  1. [out] vendorId const char** The pointer to a zero-terminated string where the vendor id is returned.

Return Value 

If the vendor id is successfully returned, ADLX_OK is returned.

If the vendor id is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks 

The vendor id is a predetermined value programmed into the GPU at the point of manufacturing and consists of four hexadecimal digits.

Additional Info 

The returned memory buffer is valid within the lifetime of the IADLXGPU interface.

If the application uses the vendor id beyond the lifetime of the IADLXGPU interface, the application must make a copy of the vendor id.

Requirements 

Header

include”ISystem.h”

Minimum version

1.0