def pair_map

stelliferous@0.0.2.0 · tensor_lanes.bend:63

import stelliferous@0.0.2.0/tensor_lanes.bend as TensorLanes
import Base
import stelliferous@0.0.2.0/storage_buffer.bend as Storage
import stelliferous@0.0.2.0/traversal_lanes.bend as Lanes
import stelliferous@0.0.2.0/traversal_cells.bend as Cells

63def pair_map(~operation: F32 -> F32 -> F32,count: Nat,position: U32,left: Storage.Buffer<F32>,right: Storage.Buffer<F32>) -> Binary:
64  Lanes.rounds_with(~Binary,~Unit,~pair_gather(~operation),~pair_scatter,~pair_finish(~operation),count,
65    Cells.State{Binary{left,right},Lanes.scratch(),position,0,Unit{}})

Uses (12)

Used by (1)