MCPcopy Create free account
hub / github.com/AnswerDotAI/gpu.cpp / check_os

Function check_os

setup.py:46–53  ·  view source on GitHub ↗
(os_name)

Source from the content-addressed store, hash-verified

44 sys.exit(1)
45
46def check_os(os_name):
47 print("\nChecking System")
48 print("===============\n")
49 print(f" Operating System : {os_name}")
50 supported = {"macOS", "Linux"}
51 if os_name not in supported:
52 print("Unsupported operating system")
53 sys.exit(1)
54
55def download_dawn(os_name):
56 print("\nDownload Dawn Library")

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected