tinygrad/tinygrad
eliotgolding bb5ded85cc
Don't rewrite idiv to rshift when numerator is negative (#8885)
* more conditions for shift rewrite mul/idiv

* make ptx test uint so the new condition is true

* delete idiv test

* rewrite to 0 is wrong for idiv, as denominator is cast to 0 before division

* mul/div by 2**(large count) is unsupported anyway
2025-02-05 07:47:33 +08:00
..
codegen Don't rewrite idiv to rshift when numerator is negative (#8885) 2025-02-05 07:47:33 +08:00
engine copy is already contiguous (#8886) 2025-02-04 17:53:33 -05:00
nn raise RuntimeError in schedule_step if not Tensor.training [pr] (#8834) 2025-01-31 12:03:04 -05:00
renderer replace UPat(name="x") with UPat.var("x") [pr] (#8887) 2025-02-04 19:12:40 +01:00
runtime am: remove hardcodes (#8895) 2025-02-05 00:52:53 +03:00
shape [bounty] Stride is flip (#8792) 2025-01-31 11:34:10 +09:00
viz hotfix: skip broken test, add KERNEL Op 2025-02-03 14:02:55 +08:00
__init__.py UOp.variable (#7010) 2024-10-12 18:20:44 +08:00
device.py Use full soname for libgcc_s in CPUProgram (#8642) (#8896) 2025-02-05 07:45:48 +08:00
dtype.py typos found by gemini [pr] (#8400) 2024-12-24 22:32:25 -05:00
gradient.py [bounty] Stride is flip (#8792) 2025-01-31 11:34:10 +09:00
helpers.py bump db version (#8805) 2025-01-29 15:34:43 -05:00
ops.py copy is already contiguous (#8886) 2025-02-04 17:53:33 -05:00
py.typed add a single py.typed (#6083) 2024-08-14 17:31:46 -07:00
spec.py simple start to the Kernel UOp [pr] (#8893) 2025-02-04 21:48:15 +01:00
tensor.py pow cleanups (#8894) 2025-02-04 15:52:57 -05:00