Updated hipErrorString and CUDAErrorTohipError (#1365)

[ROCm/hip commit: 0722704f35]
Tá an tiomantas seo le fáil i:
Sarbojit2019 údaraithe agus Maneesh Gupta tiomanta 2019-08-29 01:02:59 +00:00
1 tuismitheoir 74a3171c6b
tiomantas 73e5c52d0d
2 comhad athraithe
+72 -20

Níor tháinig aon chomhaid le do chuardach

+10
Féach ar an gComhad
@@ -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: