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