def combine_with

stelliferous@0.0.2.0 · tensor_band.bend:417

import stelliferous@0.0.2.0/tensor_band.bend as TensorBand
import Base
import stelliferous@0.0.2.0/storage_buffer.bend as Storage
import stelliferous@0.0.2.0/tensor_view.bend as Views

417# The caller supplies the same plan on both sides, after shape and status
418# checks; the plan is read from the left. Trees of another shape keep the left owner.
419def combine_with(~Element: Data,~kernel: @+count: Nat -> @+right_view: Views.View -> @+offset: U32 -> Storage.Buffer<Element> -> Storage.Buffer<Element> -> Storage.Buffer<Element> & Storage.Buffer<Element>,geometry: Geometry,parallel: Bool,left: Bands(~Element),right: Bands(~Element)) -> Bands(~Element):
420  combine_planned_with(~Element,~kernel,geometry,parallel,plan(~Element,left),right)

Uses (10)

Used by (1)