MCPcopy Create free account
hub / github.com/ROCm/clr / hipDrvGetErrorString

Function hipDrvGetErrorString

hipamd/src/hip_error.cpp:378–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378hipError_t hipDrvGetErrorString(hipError_t hip_error, const char** errStr) {
379 if (errStr == nullptr) {
380 return hipErrorInvalidValue;
381 }
382 *errStr = ihipGetErrorString(hip_error);
383 if (hip_error == hipErrorUnknown || strcmp(*errStr, "unknown error") != 0) {
384 return hipSuccess;
385 } else {
386 return hipErrorInvalidValue;
387 }
388}
389} // namespace hip

Callers

nothing calls this directly

Calls 1

ihipGetErrorStringFunction · 0.85

Tested by

no test coverage detected