MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / load_py_lib

Function load_py_lib

src/py/py_loader.cpp:49–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49static dynamic_loader load_py_lib()
50{
51 auto libs = find_available_python_versions();
52 for(const auto& lib : libs)
53 {
54 auto result = dynamic_loader::try_load(lib);
55 if(result.has_value())
56 return *result;
57 }
58 MIGRAPHX_THROW("Cant find a viable version of python");
59}
60
61static dynamic_loader py_lib()
62{

Callers 1

py_libFunction · 0.85

Calls 1

Tested by

no test coverage detected