fetch_ml/internal/queue/native_queue_stub.go
Jeremie Fraeys be39b37aec
feat: native GPU detection and NVML bridge for macOS and Linux
- 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
2026-02-21 17:59:59 -05:00

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")
}