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