Updated hipErrorString and CUDAErrorTohipError (#1365)

[ROCm/hip commit: 0722704f35]
Этот коммит содержится в:
Sarbojit2019 authored and Maneesh Gupta committed 2019-08-29 01:02:59 +00:00
1 родитель 74a3171c6b
Коммит 73e5c52d0d
2 files changed
+72 -20

No files matched your search

+10
Просмотреть файл
@@ -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: