- Add dynamic NVML loading for Linux GPU detection - Add macOS GPU detection via IOKit framework - Add Zig NVML wrapper for cross-platform GPU queries - Update native bridge to support platform-specific GPU libs - Add CMake support for NVML dynamic library
17 lines
469 B
Go
17 lines
469 B
Go
//go:build !cgo || !native_libs
|
|
// +build !cgo !native_libs
|
|
|
|
package queue
|
|
|
|
import "errors"
|
|
|
|
// UseNativeQueue is always false without native_libs build tag.
|
|
const UseNativeQueue = false
|
|
|
|
// NativeQueue is not available without native_libs build tag.
|
|
type NativeQueue struct{}
|
|
|
|
// NewNativeQueue returns an error without native_libs build tag.
|
|
func NewNativeQueue(root string) (Backend, error) {
|
|
return nil, errors.New("native queue requires native_libs build tag")
|
|
}
|