PCIBusLaneWidth

Gets the PCI bus lane width of a GPU.

Syntax

Copied!

ADLX_RESULT     PCIBusLaneWidth (adlx_uint* laneWidth)

Parameters

  1. [out] laneWidth adlx_uint* The pointer to a variable where the PCI bus lane width is returned.

Return Value

If the PCI bus lane width is successfully returned, ADLX_OK is returned.

If the PCI bus lane width is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Requirements

Header

include “ISystem1.h”

Minimum version

1.2