From 8c6a6a24a5a74495ea78c5acf1faff2d0021fd18 Mon Sep 17 00:00:00 2001 From: Douglas Wightman Date: Mon, 8 Jan 2024 15:31:06 -0700 Subject: [PATCH] Sync and export DCGM_GROUP_MAX_ENTITIES --- pkg/dcgm/gpu_group.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/dcgm/gpu_group.go b/pkg/dcgm/gpu_group.go index a4836f1..2e83db2 100644 --- a/pkg/dcgm/gpu_group.go +++ b/pkg/dcgm/gpu_group.go @@ -10,6 +10,10 @@ import ( "fmt" ) +const ( + DCGM_GROUP_MAX_ENTITIES int = C.DCGM_GROUP_MAX_ENTITIES +) + type GroupHandle struct{ handle C.dcgmGpuGrp_t } func GroupAllGPUs() GroupHandle {