Runtime README: a chain's links past the device's room go as earlier ones complete
The queue section said a signalling command buffer is staged once its queue has room; the room is the device's. Of a chain of command buffers each waiting for the one before it's signal, the links past the device's room go as earlier ones complete (the shared event chain test holds three links, IN_FLIGHT, all scheduled before the first runs). Docs only.
This commit is contained in:
1 parent
75773059e7
commit
855eb86147
1 file changed
+5
-3
@@ -1836,9 +1836,11 @@ made, with no lock, and never rewritten for layouts.
|
||||
`CommandQueue::send_now`, the hint for a wait the runtime does not see), or at teardown. Waiting
|
||||
for a place in the queue sends nothing. A segment that signals an event ends its group, which goes
|
||||
at once as it is staged, and so does a presenting command buffer's last (see "Presenting"); so a
|
||||
command buffer that signals an event, in any segment, is staged only once its queue has room for
|
||||
it, as one held for room behind it is, and a wait for its signal waits with it, while a
|
||||
presenting one has its queue go at once, through to it. The
|
||||
command buffer that signals an event, in any segment, is staged only once the device has room
|
||||
for it, as one held for room behind it is, and a wait for its signal waits with it, while a
|
||||
presenting one has its queue go at once, through to it. So of a chain of command buffers, each
|
||||
waiting for the signal of the one before it, the links past the device's room go as earlier
|
||||
ones complete. The
|
||||
driver runs a submission's command buffers as one kernel job, which a job timeout ends as a whole
|
||||
(Linux's amdgpu ends a job past its timeout and resets the ring), so a group is bounded by its
|
||||
expected GPU run: a queue's expected run follows its command buffers'
|
||||
|
||||
Reference in new issue
Block a user