chenyu and GitHub
4a3b8f6501
better _drop_valid_stmts [pr] ( #17454 )
2026-08-07 15:18:35 -04:00
chenyu and GitHub
7a9cd8e329
move weak function and pm to uop/weak [PR] ( #17429 )
2026-08-05 22:27:40 -04:00
chenyu and GitHub
b502fc1367
more const arg -> val ( #17350 )
2026-08-01 02:18:10 -04:00
chenyu and GitHub
ad24750487
const(value, dtype) -> const(value).cast(dtype) in tests ( #17335 )
2026-07-31 13:24:31 -04:00
chenyu and GitHub
8e2f175542
const(dtype, b) -> const(b, dtype) [PR] ( #17328 )
...
prep for dtype removal
2026-07-31 09:46:37 -04:00
chenyu and GitHub
fe8ece7efa
fix weak for image gate fusion [pr] ( #17310 )
2026-07-30 19:47:47 -04:00
chenyu and GitHub
6a9c23b1c1
more symmetrical div_and_mod_symbolic [pr] ( #17145 )
2026-07-22 23:34:03 -04:00
chenyu and GitHub
17557d7fdf
bring back fold_where_closure [pr] ( #17134 )
...
* bring back fold_where_closure [pr]
generic enough to delete delete pm_index_invalid
* cannot cache self
2026-07-22 11:08:14 -04:00
sirhcm and GitHub
f3a5337825
correct spelling of coalesce ( #17103 )
2026-07-20 21:44:04 -04:00
chenyu and GitHub
13ca9bd8a6
remove dtypes.index again ( #17104 )
...
also reverted some dtype change, the split made things needlessly complicated
2026-07-20 20:30:04 -04:00
George Hotz and GitHub
95681f17ee
remove extra dtypes from tests ( #16954 )
...
* remove extra dtypes from tests
* a few more
2026-07-09 14:59:56 -07:00
chenyu and GitHub
ba2c68b1ed
start dtypes.index [PR] ( #16949 )
2026-07-09 15:12:23 -04:00
George Hotz and GitHub
63cb1369cb
remove ImageDType (glm) ( #16918 )
...
* remove ImageDType (glm)
* gpt work
* better
* is_image_shape
* cleanups
* remove crap from index
* revert crap python change
* image index with float, this needs to be fixed
* simp
2026-07-08 11:27:52 -07:00
George Hotz and GitHub
40d112d4d6
remove ptr=True from index ( #16898 )
2026-07-06 18:34:18 -07:00
George Hotz and GitHub
6b8b2f5aeb
remove PtrDtype from tests ( #16896 )
...
* remove PtrDtype from tests
* fixes
* not needed
* no -1
2026-07-06 18:22:22 -07:00
George Hotz and GitHub
9512dc30f4
remove vec from const ( #16889 )
...
* remove vec from const
* reject in spec
* remove all vector dtypes
* not needed
* remove that
* clean up invalid
2026-07-06 12:23:07 -07:00
George Hotz and GitHub
c92a4c0442
move devectorizer remains into coalese ( #16869 )
...
* move devectorizer remains into coalese
* fix flaky
2026-07-04 15:36:45 -07:00
George Hotz and GitHub
5fcb21c1b3
remove vectorize/const symbolic rule [pr] ( #16759 )
...
* remove vectorize/const symbolic rule
* post index symbolic is late
* simpler
* less gates
* that's fine
* this
* work
* don't rerun
* this order
* late removal of index dtype
* skip that test
* it's fine with extra symbolic
2026-06-25 17:05:14 -07:00
George Hotz and GitHub
0a8e61d0c5
switch to the new memory coaleser [pr] ( #16716 )
...
* switch to the new memory coalese
* move that stuff
* copy in allowed length logic
* mulitple buffers
* new coalese is better
* fine
* earlier
* fixes
* work
* work
* valid
* stack on index const
2026-06-23 18:03:48 -07:00
chenyu and GitHub
ce87d80911
better _drop_valid_stmts [pr] ( #16719 )
...
also dropped the unused is_increasing
2026-06-23 19:35:01 -04:00
George Hotz and GitHub
20242fdf1d
update test + spec from shrink_in_render ( #16467 )
...
* update test + spec from shrink_in_render
* cast
2026-06-01 19:24:43 -07:00
George Hotz and GitHub
1e7f1dcf49
add ParamArgs [pr] ( #16421 )
...
* add ParamArgs
* fix export
* cleanups
* fixes
* simpler
2026-05-28 19:17:17 -07:00
George Hotz and GitHub
6815f28849
dtype.vec shapes ( #16287 )
...
* dtype.vec shapes
* something
* Closer
* more passes
* shape is in spec
* fix reduce
* image dtype shape correct
* lil
* use reshape on image
* need BUFFER there
* remove that test
* fix ptx + x86
* fix nir
* x86 fix maybe
* x86 fixups
* x86 fix
* don't check that for NOOP
2026-05-21 11:56:49 -07:00
George Hotz and GitHub
ec547250ef
don't use dtype vec for image idx ( #16298 )
...
* don't use dtype vec for image idx
* double gate
* y/x confused
* upd
* fix nir
* simplify_valid_image_load
2026-05-20 18:45:13 -07:00
George Hotz and GitHub
b796bbae87
fix valid in indexing tests ( #16087 )
2026-05-07 14:11:28 -07:00
chenyu and GitHub
34fe37d64e
use FLOORDIV and FLOORMOD ( #16048 )
...
* use FLOORDIV and FLOORMOD
also removed CORRECT_DIVMOD_FOLDING
* fix
* Revert "fix"
This reverts commit 86af33b88ef31943c61e67189b072eca4896409a.
* fix
* fix
2026-05-05 18:32:54 -04:00
George Hotz and GitHub
1884f67a39
simplify full_rewrite_to_sink spec ( #16035 )
...
* simplify full_rewrite_to_sink spec
* test cleanups
2026-05-04 11:44:13 -07:00
George Hotz and GitHub
5f441ecffc
unify reduce + reduce_axis ( #15973 )
...
* unify reduce + reduce_axis
* fix all tests
* lil cleanups
2026-04-29 10:29:56 -07:00
George Hotz and GitHub
0c3260d5d9
rename VECTORIZE to STACK ( #15880 )
2026-04-23 10:43:42 +08:00
chenyu and GitHub
30ebbe7f17
few more fold valid tests ( #15509 )
...
from remove CORRECT_DIVMOD_FOLDING attempt
2026-03-27 10:38:42 -04:00
sirhcm and GitHub
bc180a963c
deprecate <dev>=1 in favor of DEV=<dev> ( #15467 )
...
* start work on target
* add test
* update actions to use DEV
* update docs
* update readmes
* tests need that too
* update example
* update tests (comments)
* fix that test
* ruff
* mypy
* oops
* remove getenvs
* don't add Target yet
* and the test
* lint
* and docs
* more stuff
* assert
* few more fixes
* test assert
2026-03-26 03:48:03 -04:00
sirhcm and GitHub
1560b534a5
remove IMAGE=2 ( #15312 )
2026-03-20 06:26:52 -04:00
chenyu and GitHub
da1700e16b
dtypes.index -> dtypes.weakint ( #15377 )
2026-03-20 01:08:46 -04:00
sirhcm and GitHub
9047249a7c
m.where(x.pad_to(m.shape), Invalid) ranges shrink ( #15275 )
2026-03-14 07:26:36 -04:00
sirhcm and GitHub
dabdc986df
shrink guarded ranges, try 2 ( #15272 )
2026-03-14 04:24:05 -04:00
sirhcm and GitHub
7cf4b16c91
Revert "shrink guarded ranges" ( #15271 )
2026-03-14 03:44:38 -04:00
sirhcm and GitHub
d9951e2f8e
shrink guarded ranges ( #15263 )
2026-03-14 03:38:48 -04:00
chenyu and GitHub
a8d8351e5a
match IDIV and MOD in nest_by_factor ( #15188 )
2026-03-09 00:50:38 -04:00
chenyu and GitHub
83b80da8f3
even more divmod recombine ( #15163 )
2026-03-08 23:52:26 -04:00
chenyu and GitHub
167a1d56a6
improve divmod folding ( #15148 )
...
canonicalize to div than mod which enables more simplifcation
2026-03-05 10:07:36 -05:00
George Hotz and GitHub
dd2de4f838
rename all DEFINE_GLOBAL to PARAM ( #14511 )
2026-02-03 15:09:38 +08:00
George Hotz and GitHub
dc77b3318b
move files that pass with NULL=1 to test/null ( #14508 )
...
* move files that pass with NULL=1 to test/null
* fix windows
* cpu 0
* bugfix + durations
2026-02-03 13:52:36 +08:00