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

Method NewComputeSystem

vgpu/gpu.go:453–457  ·  view source on GitHub ↗

NewComputeSystem returns a new system initialized for this GPU, for Compute, not graphics functionality.

(name string)

Source from the content-addressed store, hash-verified

451// NewComputeSystem returns a new system initialized for this GPU,
452// for Compute, not graphics functionality.
453func (gp *GPU) NewComputeSystem(name string) *System {
454 sy := &System{}
455 sy.InitCompute(gp, name)
456 return sy
457}
458
459// NewGraphicsSystem returns a new system initialized for this GPU,
460// for graphics functionality, using Device from the Surface or

Callers 5

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

Calls 1

InitComputeMethod · 0.95

Tested by

no test coverage detected