SWDEV-229480 - Improve error messages in HIP Layer.

Change-Id: I054b979d3aa6cf6ed4ca14a9393bdcba757772ff
This commit is contained in:
kjayapra-amd
2020-04-13 22:51:46 -04:00
committed by Karthik Jayaprakash
parent da27fd2b09
commit 2eb8cc8e90
7 changed files with 131 additions and 60 deletions
Regular → Executable
+1
View File
@@ -216,6 +216,7 @@ hipError_t hipCtxPopCurrent(hipCtx_t* ctx) {
*dev = g_ctxtStack.top();
g_ctxtStack.pop();
} else {
DevLogError("Context Stack empty \n");
HIP_RETURN(hipErrorInvalidContext);
}