Skip to content

Commit

Permalink
Sync and export DCGM_GROUP_MAX_ENTITIES
Browse files Browse the repository at this point in the history
  • Loading branch information
glowkey committed Jan 8, 2024
1 parent be68ae5 commit 752b255
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/dcgm/gpu_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 752b255

Please sign in to comment.