MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / dlinfo

Function dlinfo

src/core/impl/utils/cuda_helper.cpp:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42int dlinfo(void* handle, int request, char* path) {
43 if (GetModuleFileName((HMODULE)handle, path, PATH_MAX))
44 return 0;
45 else
46 return -1;
47}
48
49void* dlerror() {
50 const char* errmsg = "dlerror not aviable in windows";

Callers 3

get_cuda_include_pathMethod · 0.85
unload_libMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected