Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ find_gpu_model
Function
find_gpu_model
emrun.py:825–829 ·
view source on GitHub ↗
(model)
Source
from the content-addressed store, hash-verified
823
gpus = []
824
825
def
find_gpu_model(model):
826
for
gpu in gpus:
827
if
gpu[
'model'
] == model:
828
return
gpu
829
return
None
830
831
for
i in range(16):
832
try
:
Callers
1
win_get_gpu_info
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected