Files
tinygrad/accel
George Hotz b65b70812a Exec AST (#404)
* working exec ast

* exec_ast is staticmethod

* GenericExecAST

* fold that sometimes

* ExplicitExecAST

* exec_ast for GPU

* gpu working

* get_lazyop_shape

* now gpubuffer is ExplicitExecAST

* dedup

* add a type

* RESHAPE in opencl code

* fix linter

* that too for linter

* cleanups

* remove dead code

* GenericShape is less lines

* add ALLOWED_KERNEL_COUNT to tests

* fix mypy

* that's gotta be recursive

* fix opencl shape processing

* remove unneeded lambda
2022-10-28 08:27:03 -07:00
..
2022-05-14 21:25:30 -07:00
2022-10-28 08:27:03 -07:00
2021-12-30 13:53:08 -05:00
2022-10-28 08:27:03 -07:00
2022-08-18 07:41:00 -07:00
2021-10-30 16:41:05 -07:00
2022-08-06 19:10:22 +00:00
2021-10-30 17:02:17 -07:00

This is where we scope out adding accelerators to tinygrad

ane -- Apple Neural Engine, in the M1 + newer iPhones
cherry -- Largely defunct custom hardware based on a RISC-V extension
tpu -- Google's TPU, available for rent in Google Cloud