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

Function LITE_get_last_error

lite/lite-c/src/global.cpp:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48const char* LITE_get_last_error() {
49 LITE_LOCK_GUARD(mtx_error);
50 return get_global_error().get_error_msg().c_str();
51}
52
53int LITE_get_version(int* major, int* minor, int* patch) {
54 LITE_ASSERT(major && minor && patch, "The ptr pass to LITE api is null");

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68