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

Method SyncStorageRegionsFromGPU

vgpu/memory.go:376–378  ·  view source on GitHub ↗

SyncStorageRegionsFromGPU syncs given regions from the Storage buffer memory from GPU to CPU, in one call. Use SyncRegValueIndexFromCPU to get the regions.

(regs ...MemReg)

Source from the content-addressed store, hash-verified

374// SyncStorageRegionsFromGPU syncs given regions from the Storage buffer memory
375// from GPU to CPU, in one call. Use SyncRegValueIndexFromCPU to get the regions.
376func (mm *Memory) SyncStorageRegionsFromGPU(regs ...MemReg) {
377 mm.TransferRegsFromGPU(regs)
378}
379
380// TransferToGPU transfers entire staging to GPU for all buffs
381func (mm *Memory) TransferToGPU() {

Callers

nothing calls this directly

Calls 1

TransferRegsFromGPUMethod · 0.95

Tested by

no test coverage detected