From b4a783efa1e828c027741861ee2da3c9f1cce45e 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. --- src/hip_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hip_stream.cpp b/src/hip_stream.cpp index 2b81515784..751ebea12f 100644 --- a/src/hip_stream.cpp +++ b/src/hip_stream.cpp @@ -52,7 +52,7 @@ hipError_t ihipStreamCreate(hipStream_t *stream, unsigned int flags) e = hipErrorInvalidDevice; } - return ihipLogStatus(e); + return e; }