"vscode:/vscode.git/clone" did not exist on "1f14e8f590f4f72ab5a797dab814373dbeef17dc"
Commit b1ad3a43 authored by Daniel Hiltgen's avatar Daniel Hiltgen
Browse files

Skip PhysX cudart library

For some reason this library gives incorrect GPU information, so skip it
parent 267e25a7
...@@ -220,6 +220,11 @@ func FindGPULibs(baseLibName string, patterns []string) []string { ...@@ -220,6 +220,11 @@ func FindGPULibs(baseLibName string, patterns []string) []string {
} }
slog.Debug("gpu library search", "globs", patterns) slog.Debug("gpu library search", "globs", patterns)
for _, pattern := range 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 // Ignore glob discovery errors
matches, _ := filepath.Glob(pattern) matches, _ := filepath.Glob(pattern)
for _, match := range matches { for _, match := range matches {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment