Hacker News new | ask | show | jobs
by nalzok 1116 days ago
> The main advantage is in the tinygrad IR. It has 12 operations, all of which are ADD/MUL only. `x[3]` is supported, `x[y]` is not.

Can someone educate me why that is the case? Does `x[y]` require a Turing-complete kernel to compute?

1 comments

layer of indirection introduces scatter/gather and other dynamic loads, which is tricky to optimize