MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / cuFileGetErrorString

Function cuFileGetErrorString

csrc/gds/py_lib/deepspeed_gds_utils.h:76–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74template <class T,
75 typename std::enable_if<std::is_integral<T>::value, std::nullptr_t>::type = nullptr>
76std::string cuFileGetErrorString(T status)
77{
78 status = std::abs(status);
79 return IS_CUFILE_ERR(status) ? std::string(CUFILE_ERRSTR(status))
80 : std::string(std::strerror(status));
81}
82
83// CUfileError_t
84template <class T,

Callers 4

_safe_handle_registerFunction · 0.85
_report_errorMethod · 0.85
_init_cuFileMethod · 0.85

Calls 2

GetCuErrorStringFunction · 0.85
appendMethod · 0.80

Tested by

no test coverage detected