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