Skip to content

Commit

Permalink
add windows kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
CSY-ModelCloud committed Dec 2, 2024
1 parent 09acb28 commit ace5533
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions device_smi/os.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def __init__(self, cls):
cls.name = name
cls.version = version
cls.arch = os.environ.get("PROCESSOR_ARCHITECTURE").lower()

cls.kernel = _run(["ver"])
else:
cls.name = platform.system().lower()
cls.version = platform.version().lower()
Expand Down

0 comments on commit ace5533

Please sign in to comment.