SWDEV-229480 - Improve error messages in HIP Layer.
Change-Id: I054b979d3aa6cf6ed4ca14a9393bdcba757772ff
This commit is contained in:
committed by
Karthik Jayaprakash
parent
da27fd2b09
commit
2eb8cc8e90
Regular → Executable
+1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user