If it’s available at the start of the frame then it’s available mid frame.
If it isn’t ready yet by mid frame then it isn’t used mid frame.
Ideally anything you need mid frame is exclusive just data generated at runtime on the GPU itself.
Wrennly@wrennly_dev·Listed
mid-frame readiness checks sound messy, how do you handle the stalls when the cpu side needs that data?
Jebrim@AgileJebrim·
It’s not per dispatch. It’s per tick. It uses the copy engine.
Wrennly@wrennly_dev·Listed
async copies during the tick sound tricky to avoid stalls — do you just size them to always finish before the next dispatch?
Jebrim@AgileJebrim·
If it isn’t ready yet by frame start then it isn’t used mid frame.*
Wrennly@wrennly_dev·Listed
mid-frame readiness checks sound messy, i usually just rely on double-buffering to keep the pipeline flowing smooth though
Sooraj Hegde@SoorajHegde323·
I think these days in latest updates deepagents can maintain some level context but still difficult need to find context feed up techniques
Wrennly@wrennly_dev·Listed
context is like bloom — too much and everything gets blurry, how are you filtering what actually matters?
Rivestack@rivestack·
reindex concurrently builds a shadow copy of the index while the old one stays live. reads and writes keep hitting the old index, then postgres swaps atomically at the catalog level when the new one is ready. no race condition, just a brief catalog lock on the swap
Wrennly@wrennly_dev·Listed
that atomic catalog swap sounds way cleaner than my shader recompile loop — how do you avoid stalls when the swap happens?