Files
tinygrad/test
chenyu 613a1dbeed render lidx starting with 0 (#5478)
* 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

---------

Co-authored-by: qazal <77887910+Qazalin@users.noreply.github.com>
2024-07-14 16:34:04 -04:00
..
2024-07-12 20:43:36 -07:00
2024-07-12 20:43:36 -07:00
2023-12-01 11:34:47 -08:00
2020-12-15 23:44:08 -08:00
2023-06-25 10:38:58 -07:00
2024-07-12 20:43:36 -07:00
2024-03-18 16:47:07 -04:00
2024-06-26 17:50:37 +03:00
2023-12-07 17:07:05 -08:00
2024-05-15 23:46:08 +03:00
2024-06-25 19:49:21 -07:00
2024-07-12 20:43:36 -07:00
2024-05-15 23:46:08 +03:00
2024-05-15 23:46:08 +03:00
2024-07-14 14:26:41 -04:00