TensorLanes.select_gather: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor_lanes.bend as TensorLanes Lines 97-100 of stelliferous@0.0.2.0/tensor_lanes.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor_lanes.bend&start_line=97&end_line=100 import Base import stelliferous@0.0.2.0/kernel_tile.bend as Tile def select_gather(owners: Selected,position: U32,context: Unit) -> Selected & Tile.Tile8: Selected{mask,yes,no} = owners +position = position select_reads(read(mask,position),read(yes,position),read(no,position)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/kernel_tile.bend&name=Tile8 https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_lanes.bend&name=Selected https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_lanes.bend&name=read https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_lanes.bend&name=select_reads