setstream(1);
loop(10); D2H; streamsync;  H2D; streamsync;D2H; streamsync;  H2D; streamsync;  D2H; streamsync;  H2D;streamsync; endloop(1);
loop(10); D2H; streamsync;  H2D; streamsync;D2H; streamsync;  H2D; streamsync;  D2H; streamsync;  H2D;streamsync; endloop(1);
loop(100); D2H; streamsync;  H2D; streamsync;D2H; streamsync;  H2D; streamsync;  D2H; streamsync;  H2D;streamsync; endloop(1);
loop(100); D2H; streamsync;  H2D; streamsync;D2H; streamsync;  H2D; streamsync;  D2H; streamsync;  H2D;streamsync; endloop(1);
loop(1000); D2H; streamsync;  H2D; streamsync;D2H; streamsync;  H2D; streamsync;  D2H; streamsync;  H2D;streamsync; endloop(1);
loop(1000); D2H; streamsync;  H2D; streamsync;D2H; streamsync;  H2D; streamsync;  D2H; streamsync;  H2D;streamsync; endloop(1);
loop(10000); D2H; streamsync;  H2D; streamsync;D2H; streamsync;  H2D; streamsync;  D2H; streamsync;  H2D;streamsync; endloop(1);
loop(10000); D2H; streamsync;  H2D; streamsync;D2H; streamsync;  H2D; streamsync;  D2H; streamsync;  H2D;streamsync; endloop(1);
