5 Commits

Author SHA1 Message Date
UUBulb
20316996f4
gpu(darwin): format the string & fix behaviors on intel (#60)
* gpu(darwin): format the string

* gpu(darwin): fix behaviors on intel

* return string directly
2024-09-06 08:31:19 +08:00
UUBulb
42187f2bf2
gpu/darwin: pure go implemention (#57) 2024-08-26 22:57:07 +08:00
UUBulb
65bf012579
feat: add GPU information retrieval for darwin using cgo (#40)
* feat: add GPU information retrieval for darwin using cgo

* fix kIOMasterPortDefault thing

* return 0
2024-07-19 19:00:59 +08:00
UUBulb
09c4ef1764
refactor(pty): switch to using interface (#34)
* refactor(pty): switch to using interface

for better flexibility (although may not be useful)

* chore: reduce error messages

* delete redundant messages
2024-07-07 10:18:59 +08:00
UUBulb
338f0dabbe
feat: Add GPU inspection/monitoring support (#28) 2024-06-23 10:27:18 +08:00