mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-09 15:08:02 -05:00
amd: comgr is not required (#10128)
This commit is contained in:
@@ -35,7 +35,7 @@ def _try_dlopen_$name():
|
||||
for candidate in PATHS_TO_TRY:
|
||||
try: return ctypes.CDLL(candidate)
|
||||
except OSError: pass
|
||||
raise RuntimeError("library $name not found")
|
||||
return None
|
||||
EOF
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ def _try_dlopen_amd_comgr():
|
||||
for candidate in PATHS_TO_TRY:
|
||||
try: return ctypes.CDLL(candidate)
|
||||
except OSError: pass
|
||||
raise RuntimeError("library amd_comgr not found")
|
||||
return None
|
||||
|
||||
|
||||
def string_cast(char_pointer, encoding='utf-8', errors='strict'):
|
||||
|
||||
Reference in New Issue
Block a user