1. In a computing environment, a method comprising: detecting barriers in a bulk synchronous program, each barrier delimiting supersteps; and compiling the supersteps into stream code kernels for execution by the graphics processing unit.
8. The method of claim 1 further comprising, providing a set of primitives for use in the bulk synchronous program.