Updated hipErrorString and CUDAErrorTohipError (#1365)

This commit is contained in:
Sarbojit2019
2019-08-29 06:32:59 +05:30
committed by Maneesh Gupta
orang tua 5c4f78bac3
melakukan 0722704f35
2 mengubah file dengan 72 tambahan dan 20 penghapusan
+10
Melihat File
@@ -1671,6 +1671,8 @@ const char* ihipErrorString(hipError_t hip_error) {
return "hipErrorProfilerAlreadyStarted";
case hipErrorProfilerAlreadyStopped:
return "hipErrorProfilerAlreadyStopped";
case hipErrorInsufficientDriver:
return "hipErrorInsufficientDriver";
case hipErrorInvalidImage:
return "hipErrorInvalidImage";
case hipErrorInvalidContext:
@@ -1725,6 +1727,8 @@ const char* ihipErrorString(hipError_t hip_error) {
return "hipErrorNotFound";
case hipErrorIllegalAddress:
return "hipErrorIllegalAddress";
case hipErrorInvalidSymbol:
return "hipErrorInvalidSymbol";
case hipErrorMissingConfiguration:
return "hipErrorMissingConfiguration";
@@ -1773,6 +1777,12 @@ const char* ihipErrorString(hipError_t hip_error) {
return "hipErrorHostMemoryAlreadyRegistered";
case hipErrorHostMemoryNotRegistered:
return "hipErrorHostMemoryNotRegistered";
case hipErrorMapBufferObjectFailed:
return "hipErrorMapBufferObjectFailed";
case hipErrorAssert:
return "hipErrorAssert";
case hipErrorNotSupported:
return "hipErrorNotSupported";
case hipErrorTbd:
return "hipErrorTbd";
default: