KernelGather.gather_channel: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/kernel_gather.bend as KernelGather Lines 14-18 of stelliferous@0.0.2.0/kernel_gather.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/kernel_gather.bend&start_line=14&end_line=18 import Base import stelliferous@0.0.2.0/traversal_array.bend as Traversal def gather_channel(+channel: U32,+width: U32,+offset: U32,+output_positions: U32,+span: U32, owners: Array & Array) -> Array & Array: (input_storage,output_storage) = owners Traversal.copy(~F32,U32.to_nat(width),(channel * span : U32), (channel * output_positions + offset : U32),input_storage,output_storage) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_nat https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/traversal_array.bend&name=copy