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

Method runValidation

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

Source from the content-addressed store, hash-verified

1055}
1056
1057func (n *NvidiaFs) runValidation(silent bool) error {
1058 // check for nvidia_fs module to be loaded
1059 command := shell
1060 args := []string{"-c", "lsmod | grep nvidia_fs"}
1061
1062 if withWaitFlag {
1063 return runCommandWithWait(command, args, sleepIntervalSecondsFlag, silent)
1064 }
1065 return runCommand(command, args, silent)
1066}
1067
1068func (g *GDRCopy) validate() error {
1069 // 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