NVML API Reference Guide (PDF) - vR560 (older) - Last updated August 7, 2024 - Send Feedback

4.10. Fabric definitions

Classes

struct 
struct 
struct 

Defines

#define NVML_GPU_FABRIC_HEALTH_GET ( var, type )
#define NVML_GPU_FABRIC_HEALTH_TEST ( var, type, val )
#define NVML_POWER_SCOPE_GPU 0U
Targets only GPU.
#define NVML_POWER_SCOPE_MEMORY 2U
Targets the GPU Memory.
#define NVML_POWER_SCOPE_MODULE 1U
Targets the whole module.
#define nvmlGpuFabricInfo_v2

Defines

#define NVML_GPU_FABRIC_HEALTH_GET ( var, type )

GPU Fabric Health Status Mask for various fields can be obtained using the below macro. Ex - NVML_GPU_FABRIC_HEALTH_GET( var, _DEGRADED_BW)

Value

(((var) >> NVML_GPU_FABRIC_HEALTH_MASK_SHIFT##type) & \ (NVML_GPU_FABRIC_HEALTH_MASK_WIDTH##type))

#define NVML_GPU_FABRIC_HEALTH_TEST ( var, type, val )

GPU Fabric Health Status Mask for various fields can be tested using the below macro. Ex - NVML_GPU_FABRIC_HEALTH_TEST( var, _DEGRADED_BW, _TRUE)

Value

(NVML_GPU_FABRIC_HEALTH_GET(var, type) == \ NVML_GPU_FABRIC_HEALTH_MASK##type##val)

#define NVML_POWER_SCOPE_GPU 0U

Device Scope - This is useful to retrieve the telemetry at GPU and module (e.g. GPU + CPU) level

#define NVML_POWER_SCOPE_MEMORY 2U

#define NVML_POWER_SCOPE_MODULE 1U

#define nvmlGpuFabricInfo_v2

Version identifier value for nvmlGpuFabricInfo_v2_t::version.

Value

NVML_STRUCT_VERSION(GpuFabricInfo, 2)


NVML API Reference Guide (PDF) - vR560 (older) - Last updated August 7, 2024 - Send Feedback