mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-04-07 03:00:26 -04:00
move functions to view and update docs [pr] (#10904)
* move functions to view and update docs [pr] * move quantize
This commit is contained in:
47
docs/developer/layout.md
Normal file
47
docs/developer/layout.md
Normal file
@@ -0,0 +1,47 @@
|
||||
# tinygrad directory layout
|
||||
|
||||
Listed in order of how they are processed
|
||||
|
||||
---
|
||||
|
||||
## tinygrad/kernelize
|
||||
|
||||
Group UOps into kernels.
|
||||
|
||||
::: tinygrad.kernelize.kernelize.get_kernelize_map
|
||||
options:
|
||||
members: false
|
||||
show_labels: false
|
||||
show_source: false
|
||||
|
||||
---
|
||||
|
||||
## tinygrad/opt
|
||||
|
||||
Transforms the ast into an optimized ast. This is where BEAM search and heuristics live.
|
||||
|
||||
When finished, this will just have a function that takes in the ast and returns the optimized ast.
|
||||
|
||||
---
|
||||
|
||||
## tinygrad/codegen
|
||||
|
||||
Transform the optimized ast into a linearized list of UOps.
|
||||
|
||||
::: tinygrad.codegen.full_rewrite
|
||||
options:
|
||||
members: false
|
||||
show_labels: false
|
||||
show_source: false
|
||||
|
||||
---
|
||||
|
||||
## tinygrad/renderer
|
||||
|
||||
Transform the linearized list of UOps into a program.
|
||||
|
||||
---
|
||||
|
||||
## tinygrad/engine
|
||||
|
||||
Abstracted high level interface to the runtimes.
|
||||
Reference in New Issue
Block a user