MCPcopy Create free account
hub / github.com/Niko1221/Strata / check

Function check

engine/src/core/remote_experts.cpp:62–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60};
61
62bool check(cudaError_t result, const char* what, std::string& err, int device) {
63 if (result == cudaSuccess) return true;
64 err = "CUDA" + std::to_string(device) + " experts: " + what + ": " + cudaGetErrorString(result);
65 return false;
66}
67} // namespace
68
69RemoteExperts::~RemoteExperts() { close(); }

Callers 5

preflightMethod · 0.70
openMethod · 0.70
beginMethod · 0.70
finishMethod · 0.70
copy_cached_blobsMethod · 0.70

Calls 2

to_stringFunction · 0.50
cudaGetErrorStringFunction · 0.50

Tested by

no test coverage detected