forked from tinygrad/tinygrad
* render lidx starting with 0 changed from ``` int gidx0 = gid.x; /* 4096 */ int lidx4 = lid.x; /* 8 */ int gidx1 = gid.y; /* 7 */ int lidx5 = lid.y; /* 8 */ int gidx2 = gid.z; /* 7 */ int lidx6 = lid.z; /* 2 */ ``` to ``` int gidx0 = gid.x; /* 4096 */ int lidx0 = lid.x; /* 8 */ int gidx1 = gid.y; /* 7 */ int lidx1 = lid.y; /* 8 */ int gidx2 = gid.z; /* 7 */ int lidx2 = lid.z; /* 2 */ ``` the existing one started from pre-limited global dims which skip number if there are more than 3 global dims * don't need start_dim * add changed * env var * more early exit * simpler? * Revert "Merge branch 'lidx0' into process_replay_limit" This reverts commitcbadcfa5e9, reversing changes made tofc9bf37ee7. * minor cleanup --------- Co-authored-by: chenyu <[email protected]>