Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
2d33c4e9
Commit
2d33c4e9
authored
Jan 03, 2025
by
Bruce MacDonald
Browse files
discover: remove leading new-line for linter
parent
29a8975c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
discover/gpu.go
discover/gpu.go
+0
-1
No files found.
discover/gpu.go
View file @
2d33c4e9
...
@@ -542,7 +542,6 @@ func FindGPULibs(baseLibName string, defaultPatterns []string) []string {
...
@@ -542,7 +542,6 @@ func FindGPULibs(baseLibName string, defaultPatterns []string) []string {
patterns
=
append
(
patterns
,
defaultPatterns
...
)
patterns
=
append
(
patterns
,
defaultPatterns
...
)
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
// Nvidia PhysX known to return bogus results
if
strings
.
Contains
(
pattern
,
"PhysX"
)
{
if
strings
.
Contains
(
pattern
,
"PhysX"
)
{
slog
.
Debug
(
"skipping PhysX cuda library path"
,
"path"
,
pattern
)
slog
.
Debug
(
"skipping PhysX cuda library path"
,
"path"
,
pattern
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment