1.9. Topology

Functions

dcgmReturn_t dcgmGetDeviceTopology ( dcgmHandle_t pDcgmHandle, unsigned int  gpuId, dcgmDeviceTopology_t* pDcgmDeviceTopology )
dcgmReturn_t dcgmGetGroupTopology ( dcgmHandle_t pDcgmHandle, dcgmGpuGrp_t groupId, dcgmGroupTopology_t* pDcgmGroupTopology )

Functions

dcgmReturn_t dcgmGetDeviceTopology ( dcgmHandle_t pDcgmHandle, unsigned int  gpuId, dcgmDeviceTopology_t* pDcgmDeviceTopology )
Parameters
pDcgmHandle
IN: DCGM Handle
gpuId
IN: GPU Id corresponding to which topology information should be fetched
pDcgmDeviceTopology
IN/OUT: Topology information corresponding to gpuId. pDcgmDeviceTopology->version must be set to dcgmDeviceTopology_version before this call.
Returns

Description

Gets device topology corresponding to the gpuId.

dcgmReturn_t dcgmGetGroupTopology ( dcgmHandle_t pDcgmHandle, dcgmGpuGrp_t groupId, dcgmGroupTopology_t* pDcgmGroupTopology )
Parameters
pDcgmHandle
IN: DCGM Handle
groupId
IN: GroupId corresponding to which topology information should be fetched
pDcgmGroupTopology
IN/OUT: Topology information corresponding to groupId. pDcgmgroupTopology->version must be set to dcgmGroupTopology_version.
Returns

Description

Gets group topology corresponding to the groupId.