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

Function check_file_exist

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

Source from the content-addressed store, hash-verified

52}
53
54int check_file_exist(const char* path, int mode) {
55 return _access(path, mode);
56}
57#else
58#define SPLITER ':'
59#define PATH_SPLITER '/'

Callers 2

get_cuda_include_pathMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected