1
0
mirror of https://github.com/fumiama/gozel.git synced 2026-06-06 00:40:23 +08:00
Files
gozel/internal/zecall/errors.go
源文雨 9f94f92b50 fix: ci
2026-03-26 00:39:39 +08:00

17 lines
489 B
Go

// Package zecall provides internal helpers for calling Level Zero functions via purego.
package zecall
import (
"errors"
"runtime"
)
var (
// ErrNotImplemented is a stub error.
ErrNotImplemented = errors.New("zecall is not implemtent on" + runtime.GOOS + " " + runtime.GOARCH)
// ErrZeCallNotInit please call Init() first.
ErrZeCallNotInit = errors.New("zecall not init")
// ErrNoSuchProcess please register the process first.
ErrNoSuchProcess = errors.New("no such process")
)