mirror of
https://github.com/fumiama/gozel.git
synced 2026-06-05 00:10:24 +08:00
fix: ci
This commit is contained in:
@@ -54,9 +54,9 @@ func main() {
|
||||
}
|
||||
|
||||
fmt.Println("=============== Device Basic Properties ===============")
|
||||
name, _, _ := strings.Cut(string(prop.Name[:]), "\x00")
|
||||
fmt.Println(
|
||||
"Running on device: ID =", prop.Deviceid, ", Name =",
|
||||
strings.TrimSpace(string(prop.Name[:])),
|
||||
"Running on device: ID =", prop.Deviceid, ", Name =", name,
|
||||
"@", strconv.FormatFloat(float64(prop.Coreclockrate)/1024/1024/1024, 'f', 2, 64), "GHz.",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user