amd: comgr is not required (#10128)

This commit is contained in:
nimlgen
2025-05-01 13:41:44 +03:00
committed by GitHub
parent c3d2e4a6e1
commit 9caceda79a
2 changed files with 2 additions and 2 deletions

View File

@@ -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
}

View File

@@ -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'):