Don't save error status on ihip function.

This commit is contained in:
Ben Sander committed 2016-10-05 12:18:42 -05:00
1 parent 821080487a
commit b4a783efa1
1 file changed
+1 -1
+1 -1
View File
@@ -52,7 +52,7 @@ hipError_t ihipStreamCreate(hipStream_t *stream, unsigned int flags)
e = hipErrorInvalidDevice;
}
return ihipLogStatus(e);
return e;
}