chenyu and GitHub
fc214da417
test updates for weak const change ( #17606 )
2026-08-19 15:56:01 -04:00
chenyu and GitHub
9550378704
finish casted_consts migration [PR] ( #17595 )
2026-08-19 10:43:55 -04:00
chenyu and GitHub
49778d9a48
start renderer casted const migration [pr] ( #17582 )
...
before rendering, rewrite strong typed const to casted weak const and have renderer adopt the new UOp. starting with PYTHON
2026-08-18 17:43:27 -04:00
George Hotz and GitHub
b1859805b1
remove Ops.BIND ( #17511 )
...
* remove Ops.BIND
* param arg
* simplify that
* simplify
* cleaner
* props, not functions
* param and buffer can share
2026-08-13 23:52:16 -07:00
Raine and GitHub
d41ca5e60f
Fix WMMA CI ( #17479 )
...
Autogen / In-tree Autogen (comgr 2) (push) Successful in 44s
Unit Tests / Torch Backend Tests (push) Failing after 1m0s
Unit Tests / Linters (push) Failing after 1m35s
Unit Tests / Python Backend (push) Failing after 3m12s
Unit Tests / Docs (push) Successful in 3m25s
Unit Tests / Fuzzing (push) Failing after 22s
Unit Tests / CL IMAGE Tests (push) Failing after 43s
Unit Tests / Null Tests (push) Successful in 4m9s
Unit Tests / Unit Tests (push) Successful in 3m35s
Unit Tests / openpilot Compile Tests (push) Failing after 48s
Unit Tests / Test LLM (push) Failing after 12s
Deploy Docs / deploy (push) Successful in 4m41s
Unit Tests / Optimization Tests (push) Failing after 43s
Unit Tests / SPEC=2 (1) (push) Successful in 4m0s
Unit Tests / Linux (DEV=CL) (push) Failing after 36s
Unit Tests / SPEC=2 (2) (push) Successful in 3m41s
Unit Tests / Linux (DEV=CPU:X86) (push) Failing after 25s
Unit Tests / Linux (DSP) (push) Successful in 1m42s
Unit Tests / Models (push) Successful in 3m35s
Unit Tests / Linux (DEV=CPU:LLVM) (push) Successful in 3m15s
Unit Tests / Linux (DEV=CPU:LVP) (push) Successful in 3m6s
Unit Tests / hcq2 (push) Failing after 51s
Unit Tests / Linux (DEV=CPU:CLANG) (push) Successful in 4m18s
Unit Tests / Linux (am) (push) Failing after 56s
Unit Tests / AMD ASM IDE (push) Failing after 3m2s
Unit Tests / ONNX (CPU) Tests (push) Successful in 5m40s
Unit Tests / Linux (DEV=WEBGPU) (push) Failing after 4m59s
Autogen / In-tree Autogen (push) Failing after 12m24s
Unit Tests / Linux (amdllvm gfx1100) (push) Successful in 3m55s
Unit Tests / Linux (amd gfx1100) (push) Successful in 4m27s
Unit Tests / Linux (amdllvm gfx1201) (push) Successful in 3m56s
Unit Tests / Compile-only (ir3) (push) Failing after 30s
Unit Tests / Compile-only (nak) (push) Failing after 29s
Unit Tests / Linux (amd gfx1201) (push) Successful in 4m23s
Unit Tests / Linux (amdllvm gfx950) (push) Successful in 4m3s
Unit Tests / Linux (amd gfx950) (push) Successful in 5m58s
Unit Tests / Linux (ptx) (push) Failing after 3m15s
Unit Tests / Linux (nv) (push) Failing after 5m19s
Autogen / In-tree Autogen (macos) (push) Canceled after 0s
Benchmarks / Mac pytest (push) Canceled after 0s
Benchmarks / LLM (DEV=AMD) (push) Canceled after 0s
Benchmarks / LLM (DEV=METAL) (push) Canceled after 0s
Benchmarks / LLM (DEV=NV) (push) Canceled after 0s
Benchmarks / HLB-CIFAR10 (DEV=AMD) (push) Canceled after 0s
Benchmarks / HLB-CIFAR10 (DEV=METAL) (push) Canceled after 0s
Benchmarks / HLB-CIFAR10 (DEV=NV) (push) Canceled after 0s
Benchmarks / MLPerf (AMD) (push) Canceled after 0s
Benchmarks / MLPerf (NV) (push) Canceled after 0s
Benchmarks / Stable Diffusion (DEV=AMD) (push) Canceled after 0s
Benchmarks / Stable Diffusion (DEV=METAL) (push) Canceled after 0s
Benchmarks / Stable Diffusion (DEV=NV) (push) Canceled after 0s
Benchmarks / Tests (DEV=AMD) (push) Canceled after 0s
Benchmarks / Tests (DEV=METAL) (push) Canceled after 0s
Benchmarks / Tests (DEV=NV) (push) Canceled after 0s
Benchmarks / UsbGPU Benchmark (push) Canceled after 0s
Benchmarks / comma Benchmark (0.11.2) (push) Canceled after 0s
Benchmarks / comma Benchmark (0.11.0) (push) Canceled after 0s
Benchmarks / DSP Benchmark (push) Canceled after 0s
Benchmarks / UsbGPU Benchmark (comma) (push) Canceled after 0s
Benchmarks / PCI Driver Benchmark (DEV=AMD) (push) Canceled after 0s
Benchmarks / PCI Driver Benchmark (DEV=NV) (push) Canceled after 0s
Benchmarks / LLVM Speed (push) Canceled after 0s
Platform Tests / MacOS (unit) (push) Canceled after 0s
Platform Tests / MacOS (unit, mock) (push) Canceled after 0s
Platform Tests / MacOS (DEV=METAL) (1) (push) Canceled after 0s
Platform Tests / MacOS (DEV=METAL) (2) (push) Canceled after 0s
Platform Tests / MacOS (DEV=CPU:CLANG) (push) Canceled after 0s
Platform Tests / MacOS (DEV=CPU:LLVM) (push) Canceled after 0s
Platform Tests / MacOS (DEV=CPU:LVP) (push) Canceled after 0s
Platform Tests / MacOS (DEV=WEBGPU) (push) Canceled after 0s
Platform Tests / Windows (DEV=CPU:CLANG) (push) Canceled after 0s
Platform Tests / Windows (DEV=CPU:LLVM) (push) Canceled after 0s
Platform Tests / Windows (DEV=CPU:X86) (push) Canceled after 0s
Platform Tests / Windows (DEV=WEBGPU) (push) Canceled after 0s
Platform Tests / Compile-only (QCOM CL) (push) Canceled after 0s
* init
* split into sub tests
* trigger ci
2026-08-10 08:39:14 -07:00
George Hotz and GitHub
6122b3c98f
use check_schedule in tests where possible ( #17400 )
2026-08-04 18:17:29 -07:00
chenyu and GitHub
b502fc1367
more const arg -> val ( #17350 )
2026-08-01 02:18:10 -04:00
chenyu and GitHub
3803f1583b
fix add_raw_barrier [pr] ( #17278 )
...
* fix add_raw_barrier [pr]
a kernel might need multiple barriers
* smaller?
2026-07-29 09:30:00 -07:00
chenyu and GitHub
46b82d4755
don't auto cast cond for WHERE ( #17115 )
...
no or_casted all WHEREs with single mixin, matched torch
2026-07-21 13:00:07 -04:00
nimlgen and GitHub
4257939e50
remove copyin/copyout from Buffer ( #17020 )
...
* remove copyin/copyout from Buffer
* x
* x
* x
* x
2026-07-14 19:47:22 +03:00
George Hotz and GitHub
03ecad9486
full removal of dtype.vec ( #16996 )
...
* full removal of dtype.vec
* fix typo
2026-07-12 09:25:50 -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
0035bb6fa8
only front reduce ( #16901 )
...
* only front reduce
* lint + spec
* that should fail
* meh
2026-07-07 09:55:07 -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
b683ff9836
test updates + addrspace work from new codegen ( #16800 )
2026-06-29 19:12:10 -07:00
chenyu and GitHub
3a9b87e48f
remove Ops.DEVICE from Ops.PROGRAM [PR] ( #16797 )
2026-06-29 17:41:31 -04: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
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
0336ba8eb1
buffer param arg + dsp fixups ( #16528 )
2026-06-07 12:07:00 -07:00
chenyu and GitHub
8a4203638a
make full with buffer=False deviceless ( #16483 )
...
affects arange and eye
2026-06-03 12:35:59 -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
sirhcm and GitHub
172f9493e1
move is_dtype_supported to renderer ( #16226 )
2026-05-20 21:19:37 -04:00
aa1e59ab97
X86 with Ops.INS ( #14873 )
...
* draft
* cleanup test_encodings
* cleanup test_isel
* model flag state and support rematerialization
* woops
* add vbroadcastss instruction
* don't fuse load if used multiple times in src
* add movabs instruction and fix idiv
* fixes
* add x86 backend to tests
* float16 fix
* rm TwoAddress2nd
* add BARRIER
* test windows ci
* yup isel fixes the mask stuff too and its beautiful
* add cmoves to the spec
* support storing imms
* no TUPLE_ORDER, breaks tests
* fix remaining seg faults
* add float max
* always fuse index
* minor
* fix DEFINE_VAR/SPECIAL and enable multithreading
* linter
* more linter
* more
* more
* more
* let's try this
* perhaps
* start new scheduler
* more scheduling info
* cleaner shuffle functions
* fixup isel tests
* skip bounds check when NOOPs exist
* skip inf rewrite tests
* fix const tag hack and add x86ops to _shape
* fix
* skip a few tests
* func arg order independent from op value
* x86 goes in own linearize
* switch to PARAM
* more
* add min x86op and neg in decomps
* do mulacc in isel
* use def_reg in test_encodings
* enable emulated int64 tests
* how much does this fix
* Ops becomes OpType
* fix
* rm noqa
* rm machine scheduler stuff
* and this
* allow for extending enums and move X86Ops out of uop
* fix imports
* rm X86GroupOp from ops.py
* spacing
* tell mypy to shut up
* more linter
* add x86op test
* allow set[X86Ops] in upat
* move NOOPs to pre_isel_matcher and rm NOOP from spec
* more asserts
* also this
* cleanup encode
* simplify live range
* fix idiv
* add Ops.INS to x86
* more changes
* more changes
* more changes
* fix
* fix
* fix
* fix
* print formatted assembly
* fix 8bit idiv?
* oops
* enable float16 and unaligned vector load/store
* actually no
* move x86 tests
* no more bool cast
* fix
* linter
* linter
* move X86Ops to x86.py
* fix vpbroadcast
* cleanups
* linter
* print correct reg names
* canonical max
* move max/min and add test
* support float16 vector load/store
* rm bad rewrite
* vpsrldq can't access memory
* regalloc takes renderer
* enable vector load/store on all dtypes
* more isel tests
* rm this for now
* a lot better
* fix
* fix
* fix
* deal with flags correctly
* fix
* enable gep noop rule
* fix
* fix
* fix
* add callee saved registers
* use Ops.CONST instead of X86Ops.IMM
* fix
* enable TUPLE_ORDER
* fix
* rm x86 code in linearizer
* fix
* fix
* fix
* move isa rewrites to codegen
* fix
* fix
* skip test_linearizer.py
* skip more tests
* fix
* fix for idiv/mod changes
* fix
* don't use fmadd if it duplicates fused op
* hacky
* fix
* cleanups
* cleanups
* fix
---------
Co-authored-by: George Hotz <[email protected] >
2026-05-19 12:42:54 -07:00
George Hotz and GitHub
3f2d401464
all tests pass with NOOPT=1 ( #16257 )
...
* all tests pass with NOOPT=1
* fix a few more
* noopt 100% pass
* noopt 100% pass
2026-05-18 20:39:51 -07:00
George Hotz and GitHub
4506688285
split render to render.py ( #16002 )
...
* split render to render.py
* move more print
2026-04-30 19:41:14 -07:00
nimlgen and GitHub
dfd2d07005
remove CompiledRunner ( #15970 )
...
* rm usage of CompiledRunner
* more tests
* last
* linter
* sink
* remove
* linter
2026-04-29 22:45:48 +03: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
nimlgen and GitHub
77965a22e5
local optimize as rewrite ( #15953 )
...
* local optimize as rewrite
* better
* x
* slighly rename
* fix
* ugh
* remove
* x
* remove
* not weak
2026-04-28 22:51:04 +03:00
nimlgen and GitHub
4164666c72
programinfo ( #15942 )
...
* programinfo
* fix
* m
* x
* x
* changes
* x
* fix
* rm
2026-04-27 23:12:03 +03:00
nimlgen and GitHub
3c8a2db870
remove schedule() from tests batch 2 ( #15923 )
...
* remove schedule() from tests batch 2
* batch 4
2026-04-25 10:44:41 +03:00
nimlgen and GitHub
f2751955cb
remove linear_to_schedule from tests ( #15912 )
...
* remove linear_to_schedule from tests
* x
2026-04-24 20:02:10 +03:00
George Hotz and GitHub
0c3260d5d9
rename VECTORIZE to STACK ( #15880 )
2026-04-23 10:43:42 +08:00
nimlgen and GitHub
01ac1c8c15
remove all run_schedule from tests ( #15846 )
2026-04-21 12:02:10 +03:00
sirhcm and GitHub
6adf4c3cd9
MOCKGPU interfaces ( #15796 )
2026-04-17 21:56:29 -04:00
qazal and GitHub
12c653a743
remove opts arg in get_program, everything uses opts_to_apply [pr] ( #15767 )
...
* check Ops.BEAM in process replay
* remove opts from the get_program api
* lint
* simplify
* cleanup
2026-04-16 22:42:43 +03:00
chenyu and GitHub
52f727738b
move test_grouped_dims to test/null ( #14893 )
...
it's a pure helper
2026-02-19 14:50:53 -05:00
George Hotz and GitHub
c331798201
move tests to test/backend ( #14691 )
...
* move tests to test/backend
* fix imports
* fix CI
* revert that one
* Fix formatting in README for test command
2026-02-12 11:09:44 +08:00