MCPcopy Create free account
hub / github.com/cogentcore/core / Submit

Method Submit

vgpu/cmds.go:100–102  ·  view source on GitHub ↗

Submit submits commands in buffer to given device queue, without any semaphore logic -- suitable for a WaitIdle logic.

(dev *Device)

Source from the content-addressed store, hash-verified

98// Submit submits commands in buffer to given device queue, without
99// any semaphore logic -- suitable for a WaitIdle logic.
100func (cp *CmdPool) Submit(dev *Device) {
101 CmdSubmit(cp.Buff, dev)
102}
103
104// Reset resets the command buffer so it is ready for recording new commands.
105func (cp *CmdPool) Reset() {

Callers

nothing calls this directly

Calls 1

CmdSubmitFunction · 0.85

Tested by

no test coverage detected