1. A method of wavefront optimization in an accelerated processing device, the method comprising: queuing one or more work-items of a wavefront into a first level queue of a compute unit; and performing, when one or more, additional work-items exist, a queuing of the additional work-items into a second level queue of the compute unit; wherein the queuing of the work-items into the first and second level queue is performed based on an assignment technique.