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

Method ComputeSubmitWait

vgpu/compute.go:201–203  ·  view source on GitHub ↗

ComputeSubmitWait submits the current set of commands in the default system CmdPool, typically from ComputeDispatch. Then waits for the commands to finish before returning control to the CPU. Results will be available immediately thereafter for retrieving back from the GPU.

(cmd vk.CommandBuffer)

Source from the content-addressed store, hash-verified

199// control to the CPU. Results will be available immediately
200// thereafter for retrieving back from the GPU.
201func (sy *System) ComputeSubmitWait(cmd vk.CommandBuffer) {
202 CmdSubmitWait(cmd, &sy.Device)
203}
204
205// ComputeCmdEnd adds an end to given command buffer
206func (sy *System) ComputeCmdEnd(cmd vk.CommandBuffer) {

Callers 5

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

CmdSubmitWaitFunction · 0.85

Tested by

no test coverage detected