Make generate a CPU task

This shouldn't change anything except for semantics.