George Hotz and GitHub
f267a49639
UOp.param accepts single sint as shape (int,) ( #17784 )
...
* UOp.param accepts single sint as shape (int,)
Change UOp.param signature from shape:tuple[sint, ...]|None to shape:tuple[sint, ...]|sint|None.
A single sint means 1D shape (sint,). Update all callers from (n,) to n syntax.
No param_from_shape — multi-dim shapes stay as tuples.
* use single int syntax in hcq2 copy_with_kernel
2026-08-27 14:07:33 -07:00
tonyfloatersu and GitHub
2d4e7afcbf
mockgpu/amd: use generated KFD ioctl metadata ( #17761 )
...
* init commit
* init commit
* minimize to single file scope
2026-08-27 12:24:37 +03:00
chenyu and GitHub
a7df1a1ace
const are weak 3 [pr] ( #17695 )
2026-08-24 20:32:57 -04:00
chenyu and GitHub
8b164aefea
test update from weak const ( #17689 )
2026-08-23 17:30:16 -04:00
George Hotz and GitHub
5b60a09ab0
some fixes for the AMD emulator ( #17684 )
...
* some fixes for the AMD emulator
* simpler
* revert
* min
2026-08-22 22:48:07 -07:00
chenyu and GitHub
356f665377
test update for weak const ( #17675 )
2026-08-21 21:50:29 -04:00
George Hotz and GitHub
af242819d8
refactor the AMD emulator slop (kimi) ( #17673 )
...
* refactor the AMD emulator slop (kimi)
* mypy
2026-08-21 18:00:58 -07:00
chenyu and GitHub
80169c6758
remove where push cast to branches from sym [pr] ( #17533 )
...
* remove where push cast to branches from sym [pr]
not really needed and one less place that generates casted weak const when it's not needed
* fix
2026-08-14 12:57:56 -04:00
nimlgen and GitHub
4c206a52b1
fix ci emu (gpt) ( #17437 )
...
* fix ci emu
* x
2026-08-07 22:36:59 +03:00
77e124e455
fix AMD WMMA emulation and test in CI ( #17184 )
...
* fix SPEC=1 test_tensor_cores
* implement i32 WMMA for RDNA3, add regression test to CI
* gfx950 scaled mfma llvmir fix
* detect VOP3PX2 in emu
* start cdna4 scaled mfam emu
* fix gfx12 llvmir signatures
* oops
* fix
* fix src2 const field extraction (gpt)
* scaled mfma fixes cdna4 (kimi)
* fp8 out breaks mfma (glm)
* fix const signature
* another
* fix f string for linter
* lint
* clean
* and a final lint
* .
* fix mypy
* skip slow tests on ci
* reduce unroll tensor shape -> 64x64
---------
Co-authored-by: George Hotz <[email protected] >
2026-08-04 23:25:32 -07:00
chenyu and GitHub
b502fc1367
more const arg -> val ( #17350 )
2026-08-01 02:18:10 -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
George Hotz and GitHub
52c9e5a99e
rename LOOP -> WEAK and STRONGLOOP -> LOOP ( #17283 )
2026-07-29 10:38:36 -07:00
nimlgen and GitHub
97a2265362
hcq2: amd indirect ( #17220 )
...
* ind
* mock
2026-07-26 21:36:01 +03:00
chenyu and GitHub
74c2121d99
promo (uint64, int) -> weakfloat like JAX [pr] ( #17204 )
2026-07-25 15:20:42 -04:00
nimlgen and GitHub
d6fddb066f
usb: keep only custom ( #17029 )
...
* usb: keep only custom
* mockgpu by gpt
* gpt said sorry
* revert
* reset
* fix
* flash
2026-07-15 22:40:52 +03:00
chenyu and GitHub
681a5e0cfd
remove UOp cast and bitcast override [PR] ( #17011 )
2026-07-13 14:23:11 -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
George Hotz and GitHub
1df49a7bf5
dtype doesn't need to be explicit in most places now (glm) [PR] ( #16951 )
...
* dtype doesn't need to be explicit in most places now (glm) [PR]
* fix amd pcode
* image idx long/int meh
* real image fix
2026-07-09 14:41:34 -07:00
George Hotz and GitHub
fdffc6c0c8
remove dtypes base ( #16931 )
...
* remove dtypes base
* find/replace bug
* vcount is junk too
2026-07-08 11:48:11 -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
a6ed4237e5
remove Ops.VCAT and Ops.PTRCAT (glm) ( #16771 )
...
* remove Ops.VCAT and Ops.PTRCAT (glm)
* fix stack, and remove useless casts
2026-06-26 18:35:38 -07:00
George Hotz and GitHub
e72ecd101f
split decomp into files ( #16745 )
...
* split decomp into files
* that's in op
2026-06-25 08:40:02 -07:00
George Hotz and GitHub
54887cbbdf
move decomp files into codegen ( #16744 )
2026-06-25 08:19:02 -07:00
George Hotz and GitHub
649971f02a
remove DEFINE_LOCAL and DEFINE_REG (gpt) ( #16673 )
...
* remove define_local and define_reg (gpt)
* fix precommit
* cleanups
* regalloc fix
* cleanups 2
2026-06-19 10:07:50 -07:00
George Hotz and GitHub
d7b10c69bc
update placeholder to not create DEFINE_LOCAL/DEFINE_REG ( #16671 )
...
* update placeholder to not create DEFINE_LOCAL/DEFINE_REG
* simpler
* define_local
2026-06-18 21:21:06 -07:00
George Hotz and GitHub
4a4b6956df
remove DEFINE_VAR from codebase (gpt) ( #16666 )
...
* remove DEFINE_VAR from codebase
* junk
* remove junk
2026-06-18 15:33:50 -07:00
chenyu and GitHub
df015ad541
remove many type ignores [PR] ( #16652 )
2026-06-17 21:38:45 -04:00
sirhcm and GitHub
80eeb4dd21
mockgpu: use autogen.libc ( #16479 )
2026-06-02 19:59:36 -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
556defa0f7
minor updates from vec removal ( #16456 )
2026-05-31 09:48:51 -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
bac82d4949
fix emu bug in gfx950 ( #16381 )
...
* fix emu bug in gfx950
* fix renderer
2026-05-26 10:32:03 -07:00
chenyu and GitHub
9b00defc8c
Revert "remove unique_const ( #16372 )" ( #16380 )
...
This reverts commit 09019d6761 .
2026-05-26 12:30:07 -04:00
chenyu and GitHub
09019d6761
remove unique_const ( #16372 )
...
* remove unique_const
* fix SDWA thing
* that?
2026-05-26 12:18:03 -04:00
sirhcm and GitHub
7cdd9cbdeb
PYTHONREMU: V_CVT_PK_BF8_F32 saturation ( #16268 )
2026-05-19 19:29:59 -04:00
sirhcm and GitHub
bb2a51f1ea
fix mypy mockgpu and add tinygrad.renderer.isa to packages ( #16265 )
2026-05-19 16:45:03 -04:00
sirhcm and GitHub
a178301dbe
PYTHONREMU: fix CDNA VOP3 conditional writes ( #16258 )
2026-05-19 13:31:31 -04:00
George Hotz and GitHub
26406bed83
amd uses .valid, not index src valid ( #16042 )
2026-05-04 18:35:15 -07:00
nimlgen and GitHub
7787f76dcc
get_runner -> get_runtime ( #15967 )
...
* get_runner -> get_runtime
* do not use get_runner
* fix
* remove get_tunner
* remove
* fix
* x
2026-04-29 18:29:49 +03:00
qazal and GitHub
7745e05a2f
sqtt: update wave end packet names ( #15896 )
...
* sqtt: update wave end packet names
* update wavestart and emu
2026-04-24 04:21:22 +09:00
sirhcm and GitHub
697e7aa819
MOCK+AMD and MOCK+NV interfaces ( #15858 )
...
MOCK+AMD is an alias for MOCKKFD+AMD, MOCKNVK+NV is renamed to MOCK+NV
2026-04-21 18:22:16 -04:00
sirhcm and GitHub
6adf4c3cd9
MOCKGPU interfaces ( #15796 )
2026-04-17 21:56:29 -04:00
George Hotz and GitHub
d1cce7a476
put the ranges on store instead of after ( #15759 )
...
* put the ranges on store instead of after
* better assert
* fix stuff
* comment out slow rules i don't understand
* simpler rule
* closer
* return false for store
* fix loop
* only a few schedule failures remain
* remove stores to self
* all tests pass locally
* remove junk
* regression test and fix
* better test, bump broken torch count
* bugfix with regression test
* new fusion is better
2026-04-16 19:06:40 +08:00
George Hotz and GitHub
2450c8cba8
rename to callify + fix mypy ( #15727 )
...
* rename to callify + fix mypy
* update test
2026-04-14 23:43:19 +08:00
George Hotz and GitHub
359b1582d6
amd: EMU DPP support ( #15719 )
...
* EMU DPP support from GPT 5.4
* cleanups
* simple
* nope
* fix
2026-04-14 14:58:41 +08:00
George Hotz and GitHub
16f50a40a5
remove REMU from tree ( #15706 )
...
* no more compare emulators
* remove remu from tree
2026-04-13 20:43:08 +08:00
qazal and GitHub
4d36366717
assembly/amd: match rdna4 hw gidx init in emulator ( #15604 )
...
* simple rdna4 copy kernel with hw fault
* the trivial fix: use ttmp instead of s
* now copy kernel fails in mockgpu
* rm crashing kernel
2026-04-05 02:28:18 +09:00
645d45d968
DEV has arch ( #15577 )
...
Co-authored-by: Comma Device <[email protected] >
2026-04-03 19:17:19 -04:00