From 3ea5aac9a32cd48b49fda8a70b42e9dce9b836b0 Mon Sep 17 00:00:00 2001 From: Ben Sander Date: Wed, 5 Oct 2016 11:47:41 -0500 Subject: [PATCH] Don't save error status on ihip function. --- hipamd/src/hip_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hipamd/src/hip_stream.cpp b/hipamd/src/hip_stream.cpp index 2b81515784..751ebea12f 100644 --- a/hipamd/src/hip_stream.cpp +++ b/hipamd/src/hip_stream.cpp @@ -52,7 +52,7 @@ hipError_t ihipStreamCreate(hipStream_t *stream, unsigned int flags) e = hipErrorInvalidDevice; } - return ihipLogStatus(e); + return e; }