mirror of
https://github.com/henrygd/beszel.git
synced 2026-03-22 13:36:16 +01:00
22 lines
352 B
Go
22 lines
352 B
Go
//go:build !linux && !windows
|
|
|
|
package agent
|
|
|
|
import "fmt"
|
|
|
|
func openLibrary(name string) (uintptr, error) {
|
|
return 0, fmt.Errorf("nvml not supported on this platform")
|
|
}
|
|
|
|
func getNVMLPath() string {
|
|
return ""
|
|
}
|
|
|
|
func hasSymbol(lib uintptr, symbol string) bool {
|
|
return false
|
|
}
|
|
|
|
func (c *nvmlCollector) isGPUActive(bdf string) bool {
|
|
return true
|
|
}
|