1
0
mirror of https://github.com/fumiama/gozel.git synced 2026-06-11 03:40:24 +08:00
This commit is contained in:
源文雨
2026-03-26 00:39:39 +08:00
parent cfc2c9d771
commit 9f94f92b50
7 changed files with 20 additions and 23 deletions

View File

@@ -1,3 +1,4 @@
// Package zecall provides internal helpers for calling Level Zero functions via purego.
package zecall
import (

View File

@@ -7,6 +7,7 @@ import (
"strconv"
)
// ReturnTypes constrains the set of numeric types that can be returned from a Level Zero call.
type ReturnTypes interface {
~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 |
~uint16 | ~uint32 | ~uint64 | ~uintptr | ~float32 | ~float64