tinygrad/tinygrad
chenyu 0dd3ca59cd
simpler ModNode.__mod__ and ModNode.__floordiv__ (#2983)
`gcd(self.b, b) == b` is equivalent to `self.b % b == 0`.
use the same condition and format in __floordiv__ too.
2024-01-02 18:52:42 -05:00
..
codegen merge apply_opt OptOps.LOCAL and OptOps.LASTLOCAL into one block (#2980) 2024-01-02 16:40:10 -05:00
features search refactor (#2969) 2024-01-01 17:39:26 -08:00
nn move dtypes to dtype.py (#2964) 2024-01-01 14:58:48 -08:00
renderer refactor workitems (#2973) 2024-01-02 09:16:52 -08:00
runtime simpler cstyle (#2966) 2024-01-01 16:20:10 -08:00
shape simpler ModNode.__mod__ and ModNode.__floordiv__ (#2983) 2024-01-02 18:52:42 -05:00
__init__.py move dtypes to dtype.py (#2964) 2024-01-01 14:58:48 -08:00
device.py search refactor (#2969) 2024-01-01 17:39:26 -08:00
dtype.py minor cleanups in dtype.py (#2978) 2024-01-02 13:42:37 -05:00
graph.py move globalcounters to ops (#2960) 2024-01-01 14:21:02 -08:00
helpers.py move dtypes to dtype.py (#2964) 2024-01-01 14:58:48 -08:00
jit.py move dtypes to dtype.py (#2964) 2024-01-01 14:58:48 -08:00
lazy.py vars_from_ast -> LazyOp.vars (#2965) 2024-01-01 18:12:38 -05:00
mlops.py grad -> grad_output in mlops for consistency (#2982) 2024-01-02 18:03:55 -05:00
ops.py vars_from_ast -> LazyOp.vars (#2965) 2024-01-01 18:12:38 -05:00
realize.py regenerate kernel ast dataset (#2968) 2024-01-01 20:26:17 -05:00
tensor.py add Tensor.split (#2750) 2024-01-01 22:09:04 -08:00