e020d68309
- devicereset would lose track of default stream and thus subsequent synchronization calls might not actually sychronize. - Also deviceReset now correctly frees streams. - fix waits in P2P staging copy - first phase (Device0-to-Staging) must wait for second phase (Staging to Device1) to finish draining the buffer.