diff --git a/doc/tutorial.rst b/doc/tutorial.rst index aa75b0efda70f31d6cdce7f20f92d9495f26ceca..8ca56619b562e5cffa71974c4ee9f386edfc696b 100644 --- a/doc/tutorial.rst +++ b/doc/tutorial.rst @@ -1260,7 +1260,7 @@ put those instructions into the schedule. 4: ... gbarrier 5: CALL KERNEL rotate_v2_0(extra_args=['tmp_save_slot'], extra_inames=[]) 6: tmp = tmp_save_slot[tmp_reload_hw_dim_0_rotate_v2_0, tmp_reload_hw_dim_1_rotate_v2_0] {id=tmp.reload} - 7: arr[((1 + i_inner + i_outer*16) % n)] = tmp {id=rotate} + 7: arr[(1 + i_inner + i_outer*16) % n] = tmp {id=rotate} 8: RETURN FROM KERNEL rotate_v2_0 ---------------------------------------------------------------------------