Only use ihipLogStatus from top-level HIP functions.

Change-Id: I07e9c088d5c16a79ed52cb008a798889a656016c
このコミットが含まれているのは:
Ben Sander committed 2016-09-02 09:46:59 -05:00
1 親 8ec453a8c1
コミット 9ee9284306
5ファイル変更
+7 -10

検索条件に一致するファイルはありません

+2 -7
ファイルの表示
@@ -29,16 +29,11 @@ THE SOFTWARE.
// Stack of contexts
thread_local std::stack<ihipCtx_t *> tls_ctxStack;
hipError_t ihipCtxStackUpdate()
void ihipCtxStackUpdate()
{
//HIP_INIT_API();
hipError_t e = hipSuccess;
if(tls_ctxStack.empty()) {
tls_ctxStack.push(ihipGetTlsDefaultCtx());
tls_ctxStack.push(ihipGetTlsDefaultCtx());
}
return ihipLogStatus(e);
}
hipError_t hipInit(unsigned int flags)