diff --git a/internal/discover/graphics.go b/internal/discover/graphics.go index 3b9c9600..0c515e53 100644 --- a/internal/discover/graphics.go +++ b/internal/discover/graphics.go @@ -269,7 +269,7 @@ func newXorgDiscoverer(logger *logrus.Logger, driverRoot string, nvidiaCTKPath s libCudaPaths, err := cuda.New( cuda.WithLogger(logger), cuda.WithDriverRoot(driverRoot), - ).Locate(".*.*.*") + ).Locate(".*.*") if err != nil { return nil, fmt.Errorf("failed to locate libcuda.so: %v", err) } diff --git a/pkg/nvcdi/management.go b/pkg/nvcdi/management.go index 6643c559..56272803 100644 --- a/pkg/nvcdi/management.go +++ b/pkg/nvcdi/management.go @@ -88,7 +88,7 @@ func (m *managementlib) getCudaVersion() (string, error) { libCudaPaths, err := cuda.New( cuda.WithLogger(m.logger), cuda.WithDriverRoot(m.driverRoot), - ).Locate(".*.*.*") + ).Locate(".*.*") if err != nil { return "", fmt.Errorf("failed to locate libcuda.so: %v", err) }