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

Method error

engine/src/core/remote_experts.cpp:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53 ~DeviceScope() { if (previous >= 0) cudaSetDevice(previous); }
54 std::string error(int device) const {
55 return std::string("CUDA") + std::to_string(device) + " experts: " +
56 (failed_step ? failed_step : "device switch") +
57 "(" + std::to_string(device) + ") failed: " + cudaGetErrorString(status) +
58 " (CUDA error " + std::to_string((int) status) + ")";
59 }
60};
61
62bool check(cudaError_t result, const char* what, std::string& err, int device) {

Callers 5

preflightMethod · 0.45
openMethod · 0.45
beginMethod · 0.45
finishMethod · 0.45
copy_cached_blobsMethod · 0.45

Calls 3

stringFunction · 0.50
to_stringFunction · 0.50
cudaGetErrorStringFunction · 0.50

Tested by

no test coverage detected