mirror of
https://github.com/fumiama/gozel.git
synced 2026-06-05 00:10:24 +08:00
17 lines
492 B
Go
17 lines
492 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 implemtented 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")
|
|
)
|