diff --git a/src/hip_hcc.cpp b/src/hip_hcc.cpp index e2fb952a5b..a1d6e2537f 100644 --- a/src/hip_hcc.cpp +++ b/src/hip_hcc.cpp @@ -1559,6 +1559,7 @@ const char *ihipErrorString(hipError_t hip_error) { switch (hip_error) { case hipSuccess : return "hipSuccess"; + case hipErrorOutofMemory : return "hipOutofMemory"; case hipErrorMemoryAllocation : return "hipErrorMemoryAllocation"; case hipErrorLaunchOutOfResources : return "hipErrorLaunchOutOfResources"; case hipErrorInvalidValue : return "hipErrorInvalidValue";