setstream(1);
NullKernel; streamsync;
loop(30000); NullKernel; streamsync; endloop(1);
loop(30000); H2D; H2D;  NullKernel; streamsync; endloop(1);
loop(30000); H2D; H2D; H2D;  NullKernel; streamsync; endloop(1);

loop(30000); H2D; NullKernel; D2H; streamsync; endloop(1);
loop(30000); NullKernel; D2H; streamsync; endloop(1);
loop(30000); NullKernel; D2H; D2H; streamsync; endloop(1);
loop(30000); NullKernel; D2H; D2H; D2H; streamsync; endloop(1);
