cda4b7db1c
This issue was happening because of incorrect usage of getStream call, if we get the null stream first and then typecast it, and call on getStream again, we lose the advantage of simply passing "nullptr" to indicate NULL stream. Thus we enter the waitActiveStream call and add barriers to sync across streams. Change-Id: I94dc4e3ec927295b9e1ab6dee4b37d7d3e00b0cc