sirhcm and GitHub
e6562a5061
remove CompilerPair ( #14638 )
2026-02-09 19:51:18 -05:00
sirhcm and GitHub
27f7ea478b
new style DSP renderer ( #14636 )
...
* new style DSP renderer
* cleanup
2026-02-09 00:39:03 -05:00
nimlgen and GitHub
26220a472e
no core_id ( #14265 )
...
* no core_id
* kwargs
* est
* linters
* ugh
* revert this
* deps
* glb
* should work?
* nn
* line
* fx
* ym
* z
* d
* um?
* revert
* this one?
* first half
* um p2
* all?
* um
* cleaner
* um
2026-01-23 21:30:12 +03:00
qazal and GitHub
b1c5a242b7
Revert "move is_dtype_supported logic to renderer ( #14188 )" ( #14237 )
...
This reverts commit 161fee9a48 .
2026-01-20 12:19:14 +09:00
sirhcm and GitHub
161fee9a48
move is_dtype_supported logic to renderer ( #14188 )
...
* move is_dtype_supported logic to renderer
* fix CPU_COUNT
* mypy happy
* early import libclang too with llvm
* run with debug
* skip autogen tests if MTLCompiler or llvm is loaded
* run autogen tests separately in CI
* lint
2026-01-18 22:37:04 -05:00
sirhcm and GitHub
0cb024a5bb
remove ctypes.Structure ( #13651 )
2026-01-15 05:06:22 -05:00
nimlgen and GitHub
02084f5376
mockdsp: use dsp allocator ( #14037 )
...
* mockdsp: use dsp allocator
* fix
* ?
2026-01-06 16:04:47 +03:00
George Hotz and GitHub
3d3c5b2fb9
add device to program ( #13815 )
...
* add device to program
* from_uop
* from_uop no renderer
* simpler global_size
2025-12-23 16:15:33 -05:00
nimlgen and GitHub
77a76d1b13
device: respect compiler ContextVars ( #13523 )
...
* device: envvars for cc
* fix
* fix
* x
* um
* fix
* remote
* em
* cleanup
* typing
* fix
* debug
* lvp?
* ugh
* singl
* rm
* lol
* fix
* ?
* this?
* why?
* rev
* mod test
* l
2025-12-02 14:42:04 +03:00
sirhcm and GitHub
41a098a82d
In-tree autogen: libc.py ( #13217 )
...
* checkout changes from autogen branch
* parents
* pylint happy
* move sys to system in helpers.py
* typo
* typo
2025-11-11 19:13:48 -08:00
nimlgen and GitHub
fb96394ff5
auto-select available compilers ( #12094 )
...
* device: auto select compilers
* fix
* metal+opencl
* nv/cuda
* test without ptx
* ptx
* fix tests
* fix
* fix test
* rename
* test + cleaner
* xx
* ops
* better test
* win?
* um?
* types
* debug
* win??
* sep rung
* wtf?
* debug
* skip win
* revert this
* types
2025-09-10 19:52:01 +03:00
nimlgen and GitHub
10ac427aaa
cpu threading ( #11951 )
...
* start cpu threading
* fix
* fix2
* fix
* hacks?
* threads
* minor
* no dsp
* dsp 2
* n
* more
* test
* xm
* cleaner
* readable
* f
* reorder
* when no threads
* rangeify
* typos
* not needed
* reapply
* remoev this
* linter
* fixed cpu count in ci
* fix
* fixes
* rm
* typo
* sort based on speed
* test if test works in ci
* Revert "test if test works in ci"
This reverts commit 1f05edb531 .
* do not pad thread
2025-09-06 16:13:43 +03:00
nimlgen and GitHub
cc3c1e4c14
hcq: move cpu to hcq ( #11262 )
...
* hcq: move cpu to hcq
* import time
* upd
* fix
* windows support
* hm
* cleaner
* fix timer
* fix timing
* std is ns
* skip profiler
* mypy
* cleaner
* cleanups
* after merge
* default is back
2025-07-21 15:10:38 +03:00
nimlgen and GitHub
188ed38315
replace from_mv with lightweight mv_address ( #11280 )
2025-07-19 13:50:51 +03:00
George Hotz and GitHub
be53ef4f0a
rename DEFINE_ACC -> DEFINE_REG ( #11006 )
...
* rename DEFINE_ACC -> DEFINE_REG
* add CMPEQ to groupops
2025-06-27 11:09:25 -07:00
George Hotz and GitHub
0629e45332
remove cpu graph ( #10836 )
...
* remove cpu graph, it's different from the others
* remote was blacklisting CPUGraph
* remove cpugraph from dsp
2025-06-16 11:40:58 -07:00
uuuvn and GitHub
69f7778985
refactor renderer launch bounds [pr] ( #10617 )
2025-06-05 08:38:04 -07:00
George Hotz and GitHub
bf2a0907be
gate the mockdsp behind MOCKDSP=1 [pr] ( #10486 )
2025-05-23 11:44:02 -07:00
George Hotz and GitHub
411392dfb7
move files into uop dir ( #10399 )
...
* move files into uop dir [pr]
* tinygrad.uop is a thing
* fix uop docs, no pr
* fix viz
2025-05-18 11:38:28 -07:00
uuuvn and GitHub
7bc4864bc4
Make dev a property of Allocator ( #10286 )
...
* Make `dev` a property of `Allocator`
(this is a prereq refactor for #10285 )
At least `BufferXfer.copy` accesses it assuming it's always present,
currently most devices just add this property on their own repeating
the same code over and over again.
This is also a bit footguny, see `RemoteAllocator` that named this
property `device` instead of `dev`, i could obviously just change that
in one place but doing it globally seems like a better solution (and it
reduces code duplication too).
`MallocAllocator` is a bit special, but passing `None` works just fine.
* typing
* ignore type instead of cast
2025-05-13 17:01:01 -07:00
nimlgen and GitHub
a6733f519f
dsp: make relro sections contiguous ( #9701 )
2025-04-02 18:02:16 +07:00
nimlgen and GitHub
a8ff85369e
cpugraph for dsp ( #9601 )
...
* cpugraph init
* fixes
* no cpu for now
* mypy
* fix
2025-03-28 19:06:31 +07:00
nimlgen and GitHub
3737821b9e
prepare for clang graph ( #9600 )
...
* prepare for clang graph
* emu
* ops
* ops2
* better type
* fix
2025-03-27 20:09:37 +07:00
quortus and GitHub
bdd44d4255
Fix DSP transcendentals ( #9542 )
2025-03-22 11:08:18 +08:00
George Hotz and GitHub
824c5f41ac
dsp work try 3 ( #9475 )
...
* dsp work try 3
* padding
2025-03-17 16:42:12 +08:00
George Hotz and GitHub
52ae9af4dd
Fast DSP for MobileNetV2 (try 2) ( #9467 )
...
* Fast DSP for MobileNetV2 (try 2)
* enable fast path on uchar
* fix tests
2025-03-17 15:10:36 +08:00
George Hotz and GitHub
cb7a7f69c7
quantization preprocessor from DSP, should be universal ( #9437 )
...
* quantization preprocessor from DSP, should be universal
* touchups
* fix tests
2025-03-15 07:49:37 +08:00
George Hotz and GitHub
5aa80cb602
add CUSTOMI for inline custom ( #9291 )
2025-02-28 11:11:30 +08:00
nimlgen and GitHub
2676c9d46e
dsp: raise exec errors as RuntimeError for beam ( #9246 )
2025-02-25 19:22:35 +03:00
George Hotz and GitHub
af9d8d39d2
dsp matchers + bump line count to 11300 ( #9130 )
2025-02-17 17:31:54 +08:00
George Hotz and GitHub
81f5a7af7d
improve DEBUG=3 [pr] ( #9105 )
2025-02-15 18:44:56 +08:00
George Hotz and GitHub
7e09057afa
fixup clang devectorize ( #9099 )
...
* fixup clang devectorize
* __builtin_convertvector is some casts
* dsp fixups
2025-02-15 09:29:47 +08:00
George Hotz and GitHub
765a936b81
getenv(CC) for clang ( #9054 )
2025-02-13 15:30:01 +08:00
George Hotz and GitHub
d0d58a6771
add CUSTOM support to cstyle ( #9020 )
2025-02-11 18:02:58 +08:00
George Hotz and GitHub
0568720a68
delete revectorize ( #9000 )
...
* delete revectorize
* test vectorized LLVM/CLANG
* idk about that
* was that the segfault?
2025-02-10 18:32:35 +08:00
George Hotz and GitHub
910ae260cd
dsp float4 fold + revectorize [pr] ( #8995 )
...
* dsp float4 fold [pr]
* revectorize
* fix reg issue
* no bool vectorize
* cleanups
* no need for that
2025-02-10 12:14:32 +08:00
George Hotz and GitHub
2983285315
use HEX_REG_QEMU_INSN_CNT from qemu as a DSP timer [pr] ( #8993 )
...
* use HEX_REG_QEMU_INSN_CNT from qemu as a DSP timer [pr]
* add quantize test to dsp
* fix tests
* older onnx
* debug, let's see what's happening
2025-02-10 11:07:35 +08:00
chenyu and GitHub
a092b6395d
Tuple -> tuple, List -> list [pr] ( #8936 )
2025-02-06 14:21:19 -05:00
George Hotz and GitHub
56fa5c1191
dsp simulator ( #8869 )
...
* dsp simulator
* progress
* fix
* close on test tiny
* working
* less waste
* line savings
* Device DSP compiler
* mock DSP at the bottom
* DSP tests
* docker caching
* test update
* need load
* skip that test for CI DSP
* last touch
* ugh
2025-02-04 09:45:04 +08:00
George Hotz and GitHub
f484db0e63
dsp cleanups [pr] ( #8866 )
2025-02-03 15:18:53 +08:00
geohot
d4a1d5211e
bring back the DSP runtime
2024-12-31 12:01:42 -05:00
George Hotz and GitHub
1d6d842887
move DSP to extra (room for webgpu) [pr] ( #7836 )
2024-11-22 11:32:57 +08:00
George Hotz and GitHub
6fc7013463
put all DSP in dsp file [pr] ( #7833 )
2024-11-22 11:22:59 +08:00
George Hotz and GitHub
c5d458ce02
BufferSpec and ProgramSpec [pr] ( #7814 )
...
* BufferSpec and ProgramSpec [pr]
* delete preallocate, it's unused
* Revert "delete preallocate, it's unused"
This reverts commit dcfcfaccde .
2024-11-21 12:18:05 +08:00
George Hotz and GitHub
6688539bc9
rename device to dev so Buffer can be Allocator [pr] ( #7799 )
...
* rename device to dev to Buffer can be Allocator [pr]
* missed those
* update the Program classes also
* more renames
* oops
2024-11-20 15:47:26 +08:00
George Hotz and GitHub
d71fe7faa5
rename allocator methods to not conflict [pr] ( #7788 )
...
* rename allocator methods to not conflict [pr]
* forgot those
* transfer + offset
2024-11-20 00:10:29 +08:00
George Hotz and GitHub
9f98f0c93a
use disassemble method for objdump [pr] ( #7708 )
2024-11-15 12:55:37 +08:00
George Hotz and GitHub
9b1605eef9
Revert "objdump intel syntax ( #7605 )" ( #7707 )
...
This reverts commit 8f8e375f27 .
2024-11-15 12:13:04 +08:00
ttomsa and GitHub
8f8e375f27
objdump intel syntax ( #7605 )
...
* objdump intel syntax
* test for objdump intel syntax
* add disassemble to ClangCompiler and LLVMCompiler. Use just llvm-objdump
* linter
2024-11-15 11:32:23 +08:00
George Hotz and GitHub
de7b9d7c42
improve pre-commit [pr] ( #7256 )
...
* improve pre-commit [pr]
* mypy passes on windows
2024-10-24 15:38:47 +08:00