From 2c12394d52080bc254a9083c792fab17fac90fe1 Mon Sep 17 00:00:00 2001 From: Aditya Atluri Date: Thu, 15 Sep 2016 10:50:26 -0500 Subject: [PATCH] added new error reporting case Change-Id: I5f0a37dbe396412f5602d04df19d538e451c2696 --- hipamd/src/hip_hcc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/hipamd/src/hip_hcc.cpp b/hipamd/src/hip_hcc.cpp index e2fb952a5b..a1d6e2537f 100644 --- a/hipamd/src/hip_hcc.cpp +++ b/hipamd/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";