MCPcopy Create free account
hub / github.com/NVIDIA/gpu-operator / runValidation

Method runValidation

cmd/nvidia-validator/main.go:1089–1098  ·  view source on GitHub ↗
(silent bool)

Source from the content-addressed store, hash-verified

1087}
1088
1089func (g *GDRCopy) runValidation(silent bool) error {
1090 // check for gdrdrv module to be loaded
1091 command := shell
1092 args := []string{"-c", "lsmod | grep -E '^gdrdrv\\s'"}
1093
1094 if withWaitFlag {
1095 return runCommandWithWait(command, args, sleepIntervalSecondsFlag, silent)
1096 }
1097 return runCommand(command, args, silent)
1098}
1099
1100func (n *NvidiaPeermem) validate() error {
1101 // delete driver status file if already present

Callers 1

validateMethod · 0.95

Calls 2

runCommandWithWaitFunction · 0.85
runCommandFunction · 0.85

Tested by

no test coverage detected