mirror of
https://github.com/fumiama/gozel.git
synced 2026-06-11 20:10:34 +08:00
init: generator framework
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -30,3 +30,6 @@ go.work.sum
|
|||||||
# Editor/IDE
|
# Editor/IDE
|
||||||
# .idea/
|
# .idea/
|
||||||
# .vscode/
|
# .vscode/
|
||||||
|
|
||||||
|
# Local spec
|
||||||
|
/spec
|
||||||
|
|||||||
3
core/CacheLineSize.go
Normal file
3
core/CacheLineSize.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/EUCount.go
Normal file
3
core/EUCount.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/PCIProperties.go
Normal file
3
core/PCIProperties.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/RTAS.go
Normal file
3
core/RTAS.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/RTASBuilder.go
Normal file
3
core/RTASBuilder.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/SRGB.go
Normal file
3
core/SRGB.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/bandwidth.go
Normal file
3
core/bandwidth.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/barrier.go
Normal file
3
core/barrier.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/bfloat16conversions.go
Normal file
3
core/bfloat16conversions.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/bindlessimages.go
Normal file
3
core/bindlessimages.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/cacheReservation.go
Normal file
3
core/cacheReservation.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/callbacks.go
Normal file
3
core/callbacks.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/cmdlist.go
Normal file
3
core/cmdlist.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/cmdqueue.go
Normal file
3
core/cmdqueue.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/commandListClone.go
Normal file
3
core/commandListClone.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/common.go
Normal file
3
core/common.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/context.go
Normal file
3
core/context.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/copy.go
Normal file
3
core/copy.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/counterbasedeventpool.go
Normal file
3
core/counterbasedeventpool.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/device.go
Normal file
3
core/device.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/deviceLUID.go
Normal file
3
core/deviceLUID.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/deviceVectorSizes.go
Normal file
3
core/deviceVectorSizes.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/deviceipversion.go
Normal file
3
core/deviceipversion.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/deviceusablememproperties.go
Normal file
3
core/deviceusablememproperties.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/driver.go
Normal file
3
core/driver.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/driverDDIHandles.go
Normal file
3
core/driverDDIHandles.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/event.go
Normal file
3
core/event.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/eventQueryKernelTimestamps.go
Normal file
3
core/eventQueryKernelTimestamps.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/eventquerytimestamps.go
Normal file
3
core/eventquerytimestamps.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/externalMemMap.go
Normal file
3
core/externalMemMap.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/externalSemaphores.go
Normal file
3
core/externalSemaphores.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/fabric.go
Normal file
3
core/fabric.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/fence.go
Normal file
3
core/fence.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/floatAtomics.go
Normal file
3
core/floatAtomics.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/globaloffset.go
Normal file
3
core/globaloffset.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/image.go
Normal file
3
core/image.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/imageCopy.go
Normal file
3
core/imageCopy.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/imageFormatSupport.go
Normal file
3
core/imageFormatSupport.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/imageQueryAllocProperties.go
Normal file
3
core/imageQueryAllocProperties.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/imagememoryproperties.go
Normal file
3
core/imagememoryproperties.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/imageview.go
Normal file
3
core/imageview.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/imageviewplanar.go
Normal file
3
core/imageviewplanar.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/immediateCommandListAppend.go
Normal file
3
core/immediateCommandListAppend.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/ipcMemHandleType.go
Normal file
3
core/ipcMemHandleType.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/kernelAllocationProperties.go
Normal file
3
core/kernelAllocationProperties.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/kernelBinary.go
Normal file
3
core/kernelBinary.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/kernelMaxGroupSizeProperties.go
Normal file
3
core/kernelMaxGroupSizeProperties.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/kernelSchedulingHints.go
Normal file
3
core/kernelSchedulingHints.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/linkageInspection.go
Normal file
3
core/linkageInspection.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/linkonceodr.go
Normal file
3
core/linkonceodr.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/memory.go
Normal file
3
core/memory.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/memoryCompressionHints.go
Normal file
3
core/memoryCompressionHints.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/memoryFreePolicies.go
Normal file
3
core/memoryFreePolicies.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/memoryProperties.go
Normal file
3
core/memoryProperties.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/module.go
Normal file
3
core/module.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/mutableCommandList.go
Normal file
3
core/mutableCommandList.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/powersavinghint.go
Normal file
3
core/powersavinghint.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/program.go
Normal file
3
core/program.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/raytracing.go
Normal file
3
core/raytracing.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/relaxedAllocLimits.go
Normal file
3
core/relaxedAllocLimits.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/residency.go
Normal file
3
core/residency.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/sampler.go
Normal file
3
core/sampler.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/subAllocationsProperties.go
Normal file
3
core/subAllocationsProperties.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/subgroups.go
Normal file
3
core/subgroups.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
3
core/virtual.go
Normal file
3
core/virtual.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package core
|
||||||
78
gen/main.go
Normal file
78
gen/main.go
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"archive/zip"
|
||||||
|
"bufio"
|
||||||
|
"bytes"
|
||||||
|
"flag"
|
||||||
|
"fmt"
|
||||||
|
"io"
|
||||||
|
"io/fs"
|
||||||
|
"net/http"
|
||||||
|
"os"
|
||||||
|
"strings"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
spec := flag.String("spec", "v1.28.2", "The l0 loader spec version tag starting with v or a local level-zero path for dev.")
|
||||||
|
flag.Parse()
|
||||||
|
|
||||||
|
var specdir fs.FS
|
||||||
|
|
||||||
|
if strings.HasPrefix(*spec, "v") {
|
||||||
|
ver := (*spec)[1:]
|
||||||
|
u := fmt.Sprintf("https://github.com/oneapi-src/level-zero/releases/download/v%s/level-zero-win-sdk-%s.zip", ver, ver)
|
||||||
|
resp, err := http.Get(u)
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
data, err := io.ReadAll(resp.Body)
|
||||||
|
_ = resp.Body.Close()
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
r, err := zip.NewReader(bytes.NewReader(data), int64(len(data)))
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
specdir = r
|
||||||
|
} else {
|
||||||
|
specdir = os.DirFS(*spec)
|
||||||
|
}
|
||||||
|
|
||||||
|
fmt.Println("[main] parsing core APIs...")
|
||||||
|
f, err := specdir.Open("include/level_zero/ze_api.h")
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
scanheader("core", bufio.NewScanner(f))
|
||||||
|
_ = f.Close()
|
||||||
|
fmt.Println("[main] finish parsing core")
|
||||||
|
|
||||||
|
fmt.Println("[main] parsing runtime APIs...")
|
||||||
|
f, err = specdir.Open("include/level_zero/zer_api.h")
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
scanheader("rntm", bufio.NewScanner(f))
|
||||||
|
_ = f.Close()
|
||||||
|
fmt.Println("[main] finish parsing runtime")
|
||||||
|
|
||||||
|
fmt.Println("[main] parsing sysman APIs...")
|
||||||
|
f, err = specdir.Open("include/level_zero/zes_api.h")
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
scanheader("sysm", bufio.NewScanner(f))
|
||||||
|
_ = f.Close()
|
||||||
|
fmt.Println("[main] finish parsing sysman")
|
||||||
|
|
||||||
|
fmt.Println("[main] parsing tools APIs...")
|
||||||
|
f, err = specdir.Open("include/level_zero/zet_api.h")
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
scanheader("tols", bufio.NewScanner(f))
|
||||||
|
_ = f.Close()
|
||||||
|
fmt.Println("[main] finish parsing tools")
|
||||||
|
}
|
||||||
49
gen/scan.go
Normal file
49
gen/scan.go
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bufio"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
"path"
|
||||||
|
"strings"
|
||||||
|
)
|
||||||
|
|
||||||
|
var infhcache = make(map[string]string, 1024)
|
||||||
|
|
||||||
|
func infh(name string) string {
|
||||||
|
if s, ok := infhcache[name]; ok {
|
||||||
|
return s
|
||||||
|
}
|
||||||
|
s := " [" + name + "]"
|
||||||
|
infhcache[name] = s
|
||||||
|
return s
|
||||||
|
}
|
||||||
|
|
||||||
|
func scanheader(name string, scan *bufio.Scanner) {
|
||||||
|
ln := 0
|
||||||
|
var regionfile *os.File
|
||||||
|
for scan.Scan() {
|
||||||
|
ln++
|
||||||
|
t := scan.Text()
|
||||||
|
switch {
|
||||||
|
case strings.HasPrefix(t, "#pragma region "):
|
||||||
|
region := strings.TrimSpace(t[15:])
|
||||||
|
if region == "" {
|
||||||
|
panic(fmt.Sprintf("%s L%d: unexpected empty region", name, ln))
|
||||||
|
}
|
||||||
|
fmt.Println(infh(name), "scanning region", region)
|
||||||
|
f, err := os.Create(path.Join(name, region+".go"))
|
||||||
|
if err != nil {
|
||||||
|
panic(fmt.Sprintf("%s L%d: cannot create region %s, err: %v", name, ln, region, err))
|
||||||
|
}
|
||||||
|
f.WriteString("// Code generated by gen. DO NOT EDIT.\n\npackage ")
|
||||||
|
f.WriteString(name)
|
||||||
|
f.WriteString("\n")
|
||||||
|
regionfile = f
|
||||||
|
case strings.HasPrefix(t, "#pragma endregion"):
|
||||||
|
fmt.Println(infh(name), "close region", regionfile.Name())
|
||||||
|
_ = regionfile.Close()
|
||||||
|
regionfile = nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
3
rntm/common.go
Normal file
3
rntm/common.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package rntm
|
||||||
3
sysm/Overclock.go
Normal file
3
sysm/Overclock.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/common.go
Normal file
3
sysm/common.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/device.go
Normal file
3
sysm/device.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/diagnostics.go
Normal file
3
sysm/diagnostics.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/driver.go
Normal file
3
sysm/driver.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/ecc.go
Normal file
3
sysm/ecc.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/eccState.go
Normal file
3
sysm/eccState.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/engine.go
Normal file
3
sysm/engine.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/engineActivity.go
Normal file
3
sysm/engineActivity.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/events.go
Normal file
3
sysm/events.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/fabric.go
Normal file
3
sysm/fabric.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/fan.go
Normal file
3
sysm/fan.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/firmware.go
Normal file
3
sysm/firmware.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/firmwareSecurityVersion.go
Normal file
3
sysm/firmwareSecurityVersion.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/frequency.go
Normal file
3
sysm/frequency.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/led.go
Normal file
3
sysm/led.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/memPageOfflineState.go
Normal file
3
sysm/memPageOfflineState.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/memory.go
Normal file
3
sysm/memory.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/memoryBwCounterValidBits.go
Normal file
3
sysm/memoryBwCounterValidBits.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/pciLinkSpeedDowngrade.go
Normal file
3
sysm/pciLinkSpeedDowngrade.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/performance.go
Normal file
3
sysm/performance.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/power.go
Normal file
3
sysm/power.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/powerDomainProperties.go
Normal file
3
sysm/powerDomainProperties.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/powerLimits.go
Normal file
3
sysm/powerLimits.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/psu.go
Normal file
3
sysm/psu.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/ras.go
Normal file
3
sysm/ras.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/rasState.go
Normal file
3
sysm/rasState.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/scheduler.go
Normal file
3
sysm/scheduler.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/standby.go
Normal file
3
sysm/standby.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/sysmanDeviceMapping.go
Normal file
3
sysm/sysmanDeviceMapping.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
3
sysm/temperature.go
Normal file
3
sysm/temperature.go
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// Code generated by gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package sysm
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user