Implement ND-range parallel_for and fix slide 21 example