Rename some variables in GPU task assignment and fix their usage