sirhcm and GitHub
97103831c5
Revert "remove image from BufferSpec ( #13636 )" ( #13761 )
...
This reverts commit 2571a1eb47 .
2025-12-19 13:54:36 -05:00
sirhcm and GitHub
2571a1eb47
remove image from BufferSpec ( #13636 )
...
* remove image from BufferSpec
* cl tiny_gemm (64) works
* mypy
* padding
* openpilot CL
* reshape properly
* remove extra qcom checks
* pad output
* mypy
* update compile test
* move undo
* TestImageCopy valid images
* TestImageRealization valid images
* TestImageDType valid images
* cleanups
* test_renderer_failures
* ruff
* mypy
* simplify ops_qcom
* bump step time
2025-12-19 13:41:20 -05:00
sirhcm and GitHub
1c16b6e082
Mesa: freedreno ( #12746 )
...
* ir3 init
* got a program
* 1 + 1 works
* use isa_disasm instead of shader_disasm
* wip
* matmul works
* works on py3.14
* fix const loading
* skip QCOM failing tests
* cleanup
* args actually work
* add compile-only tests
* fix typo and install tinymesa
* IR3 NULL backend
* (float32) images work
* autogen fix
* fix compile only test
* typo
* mypy happy
* compile-only uses py3.14
* bump mesa
* unify qcom disassembler
* float16 works
* disasm shows in viz
* save a line
* add real del
* variable workgroup sizes
* simplify diff
* bump line count
* properly set wgsz
* regen mesa
* no preamble
* bump lines
2025-12-08 14:02:08 -05:00
sirhcm and GitHub
4eae4b0ce6
unify adreno autogen with mesa ( #13604 )
...
* unify adreno autogen with mesa
* gen pm4
* TestTiny::test_plus works
* add a6xx enums
* IMAGE=2 TestTiny::test_gemm works
* remove adreno from CI
* cleanup
2025-12-06 15:17:36 -05:00
nimlgen and GitHub
abafb96441
hcq: check all subbufs are free ( #13599 )
...
* hcq: check all subbufs are free
* fix
* Update ops_amd.py
2025-12-06 17:43:18 +03:00
nimlgen and GitHub
db99a61fad
qcom: support cpu mappings ( #13565 )
...
* test
* qcom: support cpu mappings
* clean
* msg
2025-12-04 14:50:46 +03: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
b2af92c821
fix HCQGraph.__del__ bug when finalizing ( #13298 )
...
* fix _do_ioctl import
* fix circular import
* suppress_finalizing instead
2025-11-25 20:33:48 -08:00
nimlgen and GitHub
acbe6361ab
qcom: suppress_finalizing to free ( #13294 )
2025-11-16 11:49:23 +03:00
09f3aae169
In-tree autogen: all C libraries ( #13220 )
...
* checkout files from autogen branch
* ioctl with payload
* fix am generations
* properly fix generations
This reverts commit b2a54f4f41 .
* revert discovery.h
* support pragma pack(1)
* typo
* better getter
* typo
* NVCEC0_QMDV05_00_RELEASE[01]_ENABLE
* align support
* anon handling fix
---------
Co-authored-by: George Hotz <[email protected] >
2025-11-13 18:57:44 -08:00
nimlgen and GitHub
82eb63d3ad
qcom: auto switch idle timer when profiling ( #13230 )
...
* qcom: auto switch idle timer when profiling
* fi
2025-11-12 20:31:24 +08:00
nimlgen and GitHub
2f0ea29b34
qcom: 48bit timestamps ( #13214 )
...
* qcom: 48bit timestamps
* f
* lol
* fix
2025-11-12 04:14:33 +08:00
nimlgen and GitHub
09a59c2203
qcom: support new chip versioning ( #13185 )
...
* qcom: support new chip versioning
* ops
* nit
* fix
* f
2025-11-10 23:57:29 +08:00
Adeeb Shihadeh and GitHub
dca7fb0a49
qcom: make priority configurable ( #13120 )
2025-11-05 22:27:54 -08:00
nimlgen and GitHub
442218266d
qcom: fix profiler ( #12778 )
...
* qcom: fix profiler
* this way
2025-10-19 01:27:59 +08:00
chenyu and GitHub
0e266f376c
ops_gpu -> ops_cl ( #12103 )
2025-09-10 15:15:48 -04: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
9a88bd841c
hcq: refactor into peer_groups ( #11277 )
...
* hcq: refactor into peer_groups
* fix fors
* fixes
* ooops
* mypy
* tiny fixes
2025-07-18 16:34:18 +03:00
nimlgen and GitHub
cfb229473f
hcq: refactor buffer mapping ( #11271 )
...
* hcq: refactor buffer mapping
* fix
* fix mypy
2025-07-17 15:16:49 +03:00
nimlgen and GitHub
a825608dc2
hcq: fix progs' __del__ when shutdown ( #10341 )
...
* debug ci
* better?
* and mute this?
* revrt that
2025-05-15 23:26:48 +03:00
nimlgen and GitHub
5c7d004da5
hcq: refactor int ptrs to hcqbuffers ( #10105 )
...
* hcq: refactor int ptrs to hcqbuffers
* more refactors
* linter
* use in allocator
* test fiz
* fx
* ops
* final?
* simpler
* keep this for now
2025-04-30 00:12:18 +03:00
nimlgen and GitHub
db51133537
rename HWInterface -> FileIOInterface ( #9989 )
...
* rename HWInterface -> FileIOInterface
* ugh
2025-04-22 22:18:57 +03:00
nimlgen and GitHub
70db8c3003
hcq: dyn alloc signals ( #9238 )
...
* hcq: dyn alloc signals
* types and uniqueue devs
* typing
* mypy
* mypy one more time
* test
* make fds to not intersect in mockgpu between drivers
2025-02-25 17:22:24 +03:00
nimlgen and GitHub
2f0856c1e2
qcom: use hwinterface ( #8565 )
...
* qcom: use hwinterface
* ops
* not needed anymore
2025-01-11 17:11:23 +03:00
nimlgen and GitHub
5d37d33fc5
update typing.Optional to 3.10 for hcq ( #8479 )
2025-01-03 16:20:49 +03:00
nimlgen and GitHub
a562ee2c6e
BumpAllocator rename start -> base ( #8415 )
2024-12-25 23:12:55 +03:00
chenyu and GitHub
3f46425f1e
typos found by gemini [pr] ( #8400 )
...
not very effective... maybe due to tokenizer
2024-12-24 22:32:25 -05:00
chenyu and GitHub
e63c7818dc
few type cleanups [pr] ( #8347 )
2024-12-20 01:56:01 -05:00
George Hotz and GitHub
9c77e9f9b7
replace Tuple with tuple [pr] ( #8344 )
...
* replace Tuple with tuple [pr]
* replace List with list [pr]
* replace Dict with dict [pr]
* replace Set with set [pr]
2024-12-19 21:27:56 -08:00
nimlgen and GitHub
3a7d64b96c
hcq remove update from args state ( #8104 )
...
* hcq remove update from args state
fix amd
ugh
qcom?
qcom ops
ops
qcom fix
qcom texture info
fx
qcom fix
qcom
qcom, sry
minor
works
* remove old code
* unrelated+sint
* qcom
* typing
* rm comments
2024-12-08 15:22:05 +03:00
nimlgen and GitHub
d6e66095fd
hcq buffer is a class ( #8106 )
...
* hcq buffer is a class
* qcom
* no from_mv in qcom
* remove qcombuffer
* useless cast
* mypy
* qcom fix
* _md -> meta
2024-12-08 13:29:43 +03:00
nimlgen and GitHub
d1282da7e8
hcq bump alloc ( #8078 )
...
* hcq bump alloc
* hm
* nv
* typo
2024-12-06 19:19:04 +03:00
nimlgen and GitHub
c0240855b9
qcom has not transfer ( #8075 )
...
* qcom alloc is not hcq alloc
* maybe base?
* test
2024-12-06 14:45:01 +03:00
nimlgen and GitHub
10f431b96d
hcq replace update with sint ( #7899 )
...
* try sym hcq
* start with amd
* move to nv
* nv works
* cache and qcom
* fixes
* signals
* fix nv
* qcom fixes
* linter
* linter
* cache + typings
* fixes
* tiny fixes
* linter
* linter
* lntr
* ugh
* comments
2024-11-29 20:08:13 +03:00
nimlgen and GitHub
d3660ccc51
prereqs for hcq updates removal ( #7959 )
...
* hcq signals touch ups
* hcq compiled has device id
* helpers
* prreq hcq api
* oops
2024-11-29 18:20:07 +03:00
nimlgen and GitHub
309dcb1044
hcq signal add sleep ( #7955 )
...
* hcqsignal sleep
* fixes
* typing
* time ms is int
2024-11-29 14:04:45 +03:00
nimlgen and GitHub
84f96e48a1
hcq signal tiny refactor ( #7913 )
...
* hcq signal tiny refactor
* no mv
* fix
* fix2
* fix3
2024-11-26 21:48:38 +03:00
George Hotz and GitHub
439911b2e6
disable disable_abstract_method [pr] ( #7815 )
2024-11-21 12:28:57 +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
9df5a62c5e
unify to HWQueue [pr] ( #7812 )
...
* unify to HWCommandQueue [pr]
* all is HWQueue
2024-11-21 10:33:08 +08:00
George Hotz and GitHub
0a74acd90e
add proper typing to HCQ [pr] ( #7803 )
...
* add proper typing to HCQ [pr]
* more types
* and qcom
* HCQProgram has device type
* typed allocator
2024-11-20 17:20:39 +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
nimlgen and GitHub
4d81b7952a
qcom match texture/sampler descriptors to OpenCL ( #7622 )
...
* qcom ioctl compare more regs
* bug fix
2024-11-11 21:56:51 +03:00
George Hotz and GitHub
6bb230287b
pass the src into Metal [pr] ( #7518 )
...
* pass the src into Metal [pr]
* put that comment back
* keep old functionality
* move all to disassembler
* metal supports parallel beam
* touchups
* comment in correct place
2024-11-04 12:35:30 +08:00
nimlgen and GitHub
4ed2c40d48
qcom a bit cleaner ( #7380 )
2024-10-29 23:50:28 +03: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
nimlgen and GitHub
21acfc39d4
qcom cleanup allocs ( #7200 )
...
* qcom cleanup allocs
* oops
2024-10-21 23:20:15 +03:00
nimlgen and GitHub
942a17109a
qcom use QCOMBuffer for all allocated buffers ( #7023 )
...
* qcom use QCOMBuffer for all allocated buffers
* checks
2024-10-12 23:44:36 +03:00
nimlgen and GitHub
f9d454aed5
correct kernargs alignment ( #6984 )
2024-10-11 00:06:28 +03:00