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

Function ihipGetErrorName

hipamd/src/hip_error.cpp:46–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46const char* ihipGetErrorName(hipError_t hip_error) {
47 switch (hip_error) {
48 case hipSuccess:
49 return "hipSuccess";
50 case hipErrorInvalidValue:
51 return "hipErrorInvalidValue";
52 case hipErrorOutOfMemory:
53 return "hipErrorOutOfMemory";
54 case hipErrorNotInitialized:
55 return "hipErrorNotInitialized";
56 case hipErrorDeinitialized:
57 return "hipErrorDeinitialized";
58 case hipErrorProfilerDisabled:
59 return "hipErrorProfilerDisabled";
60 case hipErrorProfilerNotInitialized:
61 return "hipErrorProfilerNotInitialized";
62 case hipErrorProfilerAlreadyStarted:
63 return "hipErrorProfilerAlreadyStarted";
64 case hipErrorProfilerAlreadyStopped:
65 return "hipErrorProfilerAlreadyStopped";
66 case hipErrorInvalidConfiguration:
67 return "hipErrorInvalidConfiguration";
68 case hipErrorInvalidSymbol:
69 return "hipErrorInvalidSymbol";
70 case hipErrorInvalidDevicePointer:
71 return "hipErrorInvalidDevicePointer";
72 case hipErrorInvalidMemcpyDirection:
73 return "hipErrorInvalidMemcpyDirection";
74 case hipErrorInsufficientDriver:
75 return "hipErrorInsufficientDriver";
76 case hipErrorMissingConfiguration:
77 return "hipErrorMissingConfiguration";
78 case hipErrorPriorLaunchFailure:
79 return "hipErrorPriorLaunchFailure";
80 case hipErrorInvalidDeviceFunction:
81 return "hipErrorInvalidDeviceFunction";
82 case hipErrorNoDevice:
83 return "hipErrorNoDevice";
84 case hipErrorInvalidDevice:
85 return "hipErrorInvalidDevice";
86 case hipErrorInvalidPitchValue:
87 return "hipErrorInvalidPitchValue";
88 case hipErrorInvalidImage:
89 return "hipErrorInvalidImage";
90 case hipErrorInvalidContext:
91 return "hipErrorInvalidContext";
92 case hipErrorContextAlreadyCurrent:
93 return "hipErrorContextAlreadyCurrent";
94 case hipErrorMapFailed:
95 return "hipErrorMapFailed";
96 case hipErrorUnmapFailed:
97 return "hipErrorUnmapFailed";
98 case hipErrorArrayIsMapped:
99 return "hipErrorArrayIsMapped";
100 case hipErrorAlreadyMapped:
101 return "hipErrorAlreadyMapped";
102 case hipErrorNoBinaryForGpu:
103 return "hipErrorNoBinaryForGpu";

Callers 3

hipGetErrorNameFunction · 0.85
hipDrvGetErrorNameFunction · 0.85
hipTexRefGetAddressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected