Skip PhysX cudart library
For some reason this library gives incorrect GPU information, so skip it
This commit is contained in:
parent
267e25a750
commit
b1ad3a43cb
|
@ -220,6 +220,11 @@ func FindGPULibs(baseLibName string, patterns []string) []string {
|
|||
}
|
||||
slog.Debug("gpu library search", "globs", patterns)
|
||||
for _, pattern := range patterns {
|
||||
|
||||
// Nvidia PhysX known to return bogus results
|
||||
if strings.Contains(pattern, "PhysX") {
|
||||
slog.Debug("skipping PhysX cuda library path", "path", pattern)
|
||||
}
|
||||
// Ignore glob discovery errors
|
||||
matches, _ := filepath.Glob(pattern)
|
||||
for _, match := range matches {
|
||||
|
|
Loading…
Reference in a new issue